목록console.log (1)
wasup

1)이스케이프 문자 이스케이프 문자는 이스케이프 시퀀스를 따르는 문자들로서 다음 문자가 특수 문자임을 알리는 백슬래시(\)를 사용한다. /* 이스케이프문자 \n : 줄바꿈 \t : 수평탭 \' : 작은 따옴표 \" : 큰 따옴표 \\ : 역슬래쉬 */ //alert("1. hello 'wold'"); //alert('2. hello "wold"'); //alert('3. hello \\ wold'); //alert('4. hello \n wold'); alert('가나다라'+'마바사아'+'자차카타'+'파하'); 2)var, let, const 차이점 let, const : block-scoped (설명이 잘 되어있는 블로그 : gist.github.com/LeoHeo/7c2a2a6dbcf80becaaa1..
IT/html, css, script
2021. 4. 6. 16:55