Variables are used to store this information.A variable is a 'named storage' for data.변수는 데이터의 '이름이 지정된 저장소'이다. → 변수 선언Now, we can put some data into
A value in JavaScript is always of a certain type. 자바스크립트의 값은 항상 특정한 타입이다.We can put any type in a variable.Programming languages that allow such thin
shows a messageThe mini-window with the message is called a modal window. The word 'modal' means that the visitor can't interact with the rest of the
Most of the time, operators and functions automatically convert the values given to them to the right type. we can call the String(value) function to
출처: https://javascript.info/혼자 읽고 타이핑하며 이해하면서 공부한 흔적 남기기unary 단항의, 1진법의binary 2진법의, 2항의operand 피연산 함수 (argument) 5\*2 → 5 multiplied by 2 equals
출처: https://javascript.info/혼자 읽고 타이핑하며 이해하면서 공부한 흔적 남기기We know many comparison operators from maths.In JavaScript they are written like this:Gre
출처: https://javascript.info/혼자 읽고 타이핑하며 이해하면서 공부한 흔적 남기기? : conditional operator, also called a 'question mark' operator.The if(...) statement ev
출처: https://javascript.info/혼자 읽고 타이핑하며 이해하면서 공부한 흔적 남기기There are four logical operators in JavaScript:||(OR), &&(AND), !(NOT), ??(Nullish Coales
출처: https://javascript.info/혼자 읽고 타이핑하며 이해하면서 공부한 흔적 남기기\*A recent additionAs it treats null and undefined similarly, we'll use a special term he
출처: https://javascript.info/혼자 읽고 타이핑하며 이해하면서 공부한 흔적 남기기Loops are a way to repeat the same code multiple times.While the condition is truthy, the
출처: https://javascript.info/혼자 읽고 타이핑하며 이해하면서 공부한 흔적 남기기A switch statement can replace multiple if checks.The switch has one or more case blocks
출처: https://javascript.info/ 혼자 읽고 타이핑하며 이해하면서 공부한 흔적 남기기 Functions are the main "building blocks" of the program. They allow the code to be called
출처: https://javascript.info/혼자 읽고 타이핑하며 이해하면서 공부한 흔적 남기기자바스크립트에서 함수는 매직 언어 구조가 아니지만 특별한 종류의 값이다.There is another syntax for creating a function t
출처: https://javascript.info/혼자 읽고 타이핑하며 이해하면서 공부한 흔적 남기기very simple and concise syntax for creating functions, 종종 함수 표현식 보다 좋다concrete example:If