We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f75e146 commit ddb307fCopy full SHA for ddb307f
3 files changed
examples/part1/006-1.js
@@ -0,0 +1,3 @@
1
+(3 + 12) / 5
2
+declaredVariable
3
+greeting("Hello")
examples/part1/006.js
@@ -0,0 +1,9 @@
+function greeting() {
+ "hello"
+ "Chloe" + 3
4
+ greeting()
5
+}
6
+
7
+greeting(if(true) {
8
+ console.log("It is not acceptable")
9
+})
examples/part1/008.js
@@ -0,0 +1,21 @@
+var x = 5; // 숫자형(Number)
+var y = 'five'; // 문자형(String)
+var isTrue = true; // 불린형(Boolean)
+var empty = null; // null
+var nothing; // undefined
+var sym = Symbol('me'); // Sysbol
+var item = {
+ price: 5000,
10
+ count: 10
11
+}; // 객체 (Object)
12
13
+var fruits = ['apple', 'orange', 'kiwi']; // 배열(Array)
14
15
+var addFruit = function (fruit) {
16
+ fruits.push(fruit);
17
+} // 함수(function)
18
19
+addFruit('watermelon');
20
21
+console(fruits);
0 commit comments