전체 글
-
LoopsJavaScript 2021. 10. 16. 15:49
이 글은 자바스크립트의 Loops(반복문)에 대한 개념 및 문법을 정리하기 위해 작성하였습니다. To repeat a set of instructions until a specified condition, called a stopping condigion is reached. Instead of writing out same code over and over, to repeat a given block of code on its own. for (let iterator-variable = 0; iterator-variable < 5; iterator-variable ++) { // code block } initialization : Starts the l..
-
Command LineCommand Line 2021. 10. 15. 10:43
이 글은 웹 개발에 필요한 기본적인 커맨드라인에 관한 개념들을 정리하기 위해 작성하였습니다. The command line is a text interface for your computer. It’s a program that takes in commands and passes them on to the computer’s operating system to run. From the command line, you can navigate through files and folders on your computer, just as you would with Finder on Mac OS or Windows Explorer on Windows. The difference is..
-
ArraysJavaScript 2021. 10. 14. 18:04
이 글은 자바스크립트의 Array(배열)에 관한 개념 및 문법을 정리하기 위해 작성하였습니다. To organize and store data. You can think of array as List in real life. Arrays can store any data type (including strings, numbers, and booleans) To create an array. let Array = [element1, element2, element3 ...] The array is represented by square brackets : [ ] Each content item inside an array is called an ele..
-
ScopeJavaScript 2021. 10. 12. 10:44
이 글은 자바스크립트의 Scope에 관한 개념 및 문법을 정리하기 위해 작성하였습니다. Scope defines where variables can accessed or referenced. You can think of scope like the view of the night sky from your window. Everyone who lives on the planet Earth is in the global scope of the stars. The stars are accessible globally. Meanwhile, if you live in a city, you may see the city skyline or the river. The skyline and river..
-
FunctionsJavaScript 2021. 10. 11. 21:55
이 글은 자바스크립트의 Function(함수)에 관한 개념 및 문법을 정리하기 위해 작성하였습니다. A function is a reusable block of code to perform a specific task. function identifier() { // function body } The function keyword Function's name (a.k.a identifier) : identifier The block of statements required to perform a specific task : function body : Allow access to functio..
-
ConditionalsJavaScript 2021. 10. 9. 23:29
이 글은 자바스크립트의 Conditionals(조건문)에 관한 개념 및 문법을 정리하기위해 작성하였습니다. To check a specific condition(s) and perform a task based on the condition(s) We can make decisions based on circumstances. if (condition) { // code block or block statement } Condition evaluates to true, block runs. Condition evaluates to false, block won't run. ex) if (true) { console.log('This messa..
-
VariablesJavaScript 2021. 10. 8. 16:51
이 글은 자바스크립트의 Variables(변수)에 관한 개념 및 문법을 정리하기 위해 작성하였습니다. You can think of variables as little containers for information that live in a computer's memory. Provide a way of labeling data with descriptive name. let myName = LSH // myName variable is initialized with LSH var myName = LSH const myName = LSH 1. variable's name(camel casing) : myName 2. value : LSH ..
-
Introduction to JavaScriptJavaScript 2021. 10. 7. 23:06
이 글은 JavaScript의 조건문이나 반복문 등 주요 개념을 배우기 전, 기본 문법 및 바탕이되는 개념사항들을 정리하기 위해 작성하였습니다. A panel that displays important messages, like errors, for developers. Data is printed, or logged, to the console withconsole.log() ex) console.log(22) // 22 To leave notes in our code for other developers or ourselves. Computer will ignore it as our program runs. Single line comment => Use ..