[NomadCoder] MMJS 4. 자바스크립트 html console.log() , 변수 선언 const, let, arrays
HTML 함수 index.html + browser 1. console.log() : 콘솔에 메세지 보냄. param::number or string,, 직관적으로 말해서, 콘솔에 괄호 안의 내용을 출력하는 것. 1) console.log("아무 문자열이나 넣기"); 혹은 colsole.log(12345); 2) index.html 브라우저로 돌아가 콘솔을 열어보면 해당 문자열이나 숫자가 올라와있는 것을 볼 수 있다. - JS 자바스크립트는 from top to bottom : 위에서 아래로 코드를 읽어내린다. - 개발자가 되려면 게을러야 한다. 하나하나 수정할 생각을 하지 마라! const a = 5; : variable a 상수 변수 a 생성. - 변수명 작성 관례 : const veryLongVar..
2023.07.03