2장. 데이터 형과 연산자
Q2-1. address, "서울"
Q2-2. pi, 3.14
Q2-3. const로 선언된 변수에는 값을 재할당할 수 없다.
Q2-4. 4
Q2-5. 3
Q2-6. length, length
Q2-7. \', \", \\, \n
Q2-8. hour, min
Q2-9. name, code, price 
Q2-10. 0, 1, 2
Q2-11. 2, 5
Q2-12. -77
Q2-13. true, false, false, true, true, true
Q2-14. 20
Q2-15. -6
Q2-16. 3
Q2-17. 토끼거북이
Q2-18. 24
Q2-19. width, height, area
Q2-20. km, km, mile

3장. 제어문
Q3-1. ||
Q3-2. &&
Q3-3. if
Q3-4. if, else
Q3-5. &&, else 
Q3-6. &&, else
Q3-7. if, ||
Q3-8. else if, &&, else
Q3-9. i%3==0
Q3-10. i%5!=0
Q3-11. 0, sum
Q3-12. score, x
Q3-13. num, max
Q3-14. 1, 100, i++
Q3-15. 0, i
Q3-16. 0, str1, i++

4장. 함수
Q4-1. w, h, result
Q4-2. result, inch
Q4-3. x, cm
Q4-4. add
Q4-5. 익명 함수에서는 함수 선언이 먼저 이루어진 다음 호출해서 사용해야 합니다. 이 프로그램에서는 add() 함수 호출이 익명 함수 선언에 앞서 일어나고 있기 때문에 오류가 발생됩니다.
Q4-6. =>
Q4-7. 120
Q4-8. scores, scores.length
Q4-9. arguments[i], x
Q4-10. 20 10
Q4-11. ➊과 ➋에서 오류가 발생됩니다. 블록 스코드에서 선언된 변수 x와 y는 해당 블록에서만 사용할 수 있습니다.
Q4-12. 20 10

5장. 객체
Q5-1. friend.name, friend.tel, friend.address
Q5-2. "name", "tel", "address"
Q5-3. key
Q5-4. tel1, tel2
Q5-5. function()
Q5-6. this.name, this.age, this.tel, this.email
Q5-7. prototype
Q5-8. prototype

6장. 숫자
Q6-1. 1020, 200, 0.5, NaN
Q6-2. toString(16), toString(2), toString(10), toString(2)
Q6-3. toString(), toString()
Q6-4. toFixed(2), toPrecision(5)
Q6-5. 25, 25.55, NaN
Q6-6. 127, 127, 25
Q6-7. 356, 356.777, 356.22, NaN
Q6-8. isNaN(x), isNaN(y)
Q6-9. 1213, 25

7장. 문자열
Q7-1. W, t
Q7-2. str1[i]
Q7-3. x
Q7-4. Nice t, eet
Q7-5. Nice, meet you!, to
Q7-6. Have a good day!, Have a nice day!
Q7-7. concat, "/"
Q7-8. 20, 40, 10_20_30_40_50_
Q7-9. arr.length, arr[i]
Q7-10. trim(), trimStart(), trimEnd()
Q7-11. 07, 07월
Q7-12. 7, 3
Q7-13. yes, no

8장. 정규 표현식
Q8-1. ig
Q8-2. Hot,hot
Q8-3. S,a,l,e,7,0
Q8-4. ,%,!
Q8-5. 7,0
Q8-6. S,a,l,e, ,%,!
Q8-7. 2
Q8-8. 10
Q8-9. pp,p,pp,p
Q8-10. 1,10,100,1000,10000
Q8-11. 1,10,10,10,10
Q8-12. 100,200,300
Q8-13. you!
Q8-14. Ho
Q8-15. o,d,o,o,d,o
Q8-16. 6
Q8-17. 1,3,1,2,3
Q8-18. 9,9,0,9
Q8-19. am,are

9장. 배열
Q9-1. -3, 5
Q9-2. scores[i]
Q9-3. scores[i]
Q9-4. score
Q9-5. join
Q9-6. 85,98,99,100
Q9-7. 85,98,99,76/82
Q9-8. 노랑,파랑,주황/빨강
Q9-9. 검정,파랑,주황/검정,파랑,하얀,주황/검정,주황
Q9-10. 2
Q9-11. true, false
Q9-12. 팝송,클래식,재즈/OST
Q9-13. -24
Q9-14. 7/-24/-8/
Q9-15. 10,30,50
Q9-16. 1,3,5,2,4,6/1,3,5
Q9-17. -10,15,20,35/35,20,15,-10
Q9-18. 가요,팝송,팝송,클래식,OST

10장. 
Q10-1. 8, 9
Q10-2. 6, 6
Q10-3. 13, 13
Q10-4. 256, 10
Q10-5. Math.random()
Q10-6. getMonth(), getDate()
Q10-7. getMinutes(), getSeconds()
Q10-8. c, a, t, , h, u,
Q10-9. add
Q10-10. has
Q10-11. size
Q10-12. delete
Q10-13. key, value
Q10-14. value, key
Q10-15. set, set, delete

11장. 문서 객체 모델(DOM)
Q11-1. appendChild, appendChild
Q11-2. id, pass
Q11-3. getElementById, color
Q11-4. getElementsByTagName, x[1]
Q11-5. getElementsByClassName, x[2]
Q11-6. querySelectorAll
Q11-7. href
Q11-8. backgroundColor, border, padding

12장. 이벤트
Q12-1. addEventListener
Q12-2. target
Q12-3. x, x
Q12-4. focusFunc, blurFunc
Q12-5. input1, keydown

13장. 브라우저 객체 모델(BOM)
Q13-1. open
Q13-2. close
Q13-3. focus



























