분류 전체보기67 JavaScript Arrays # Arrays Intro Ordered collections of values. It is like a pill box for 7days a week. The main concept here is that there are a bunch of slots and there's an order. 1) Arrays is a collection of values 2) It is an ordered collection of values. there are the maing concept. Examples ) List of comments on IG post / Collection of levels in a game / songs in a playlist In order to creat arrays, we use.. 2022. 8. 23. Javascript Making decisions # Decision making in Js This concept is pretty universal. Having different outcomes based off of certain criteria. For example, on Reddit, You can get two different outcomes when you singed in or not. It's just having different branching paths depending on some input. #Comparison operators. to compare two vlaues, left and right, they return or they give us a true or false value. they become very.. 2022. 8. 6. Javascript string # Intro String. String is basically text of information and must be wrapped in quotes. it works with both double quotes and single quotes. What is important is remaining consistance. In single JS file, you should not swich double to single quotes and vice versa. You should remain consistance. The only time you can mix with double and single quotes is you need to include one of them inside. let s.. 2022. 8. 4. JavaScript #Primitive types Every language has their own type of information. Js has things to save some information with these basic building blocks. > numbers / string / boolean / null / undefined (these are basic primitive type in Js) REPL : Read my code / Evaluate / Print out the result / Loop(keep going) : Js doesn't stop compare to most other programming languages. You type some code and hit run and .. 2022. 7. 30. 이전 1 ··· 6 7 8 9 10 11 12 ··· 17 다음