
JS & jQuery
let, const 변수
//console.log("sun"); //변수선언 let suuun; // console.log(suuun); //할당되지 않았으므로 => undefined suuun = "써니"; //console.log(suuun); //할당되었으므로 => 써니 //const suuun; //할당되지 않아서 에러가 발생 const suuun = "써니"; //선언과 동시에 할당을 해야함 //let this = "뭘까?"; == 예약어는 변수로 쓸 수 없음 console창으로 확인해 보자! 문자, $, _를 사용하여 변수명을 생성 공백과 대소문자를 구분 예약어(class, this, function, if, for, true , false, undefined, null 등등)은 변수명으로 사용 불가 *변수 let -..