목록javascript/elly-applecoding (1)
기초공사 (html,css,javascript)
4강-연산, for
// //1. String concatenation console.log("my" + "cat"); // my cat console.log("1" + 2); //12 console.log(`string literals: 1 + 2 = ${1 + 2}`); // string literals:1+2=3 //2. Numeric operators console.log(1 + 1); //add console.log(1 - 1); //substract console.log(1 / 1); //divide console.log(1 * 1); //multiply console.log(5 % 2); //remainer console.log(2 ** 3); //2의 3승.. //3. Increment and decremen..
javascript/elly-applecoding
2024. 3. 26. 10:20