Development/JavaScript, jQuery, ...(535)
-
Bootstrap CDN
Bootstrap CDN http://www.bootstrapcdn.com/ 항목 우측의 화살표 버튼 클릭
-
ERROR- 'express'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다. (express 명령어 실행불가 오류)
express 명령어 실행불가 오류 오류 메시지 c:\javanAndroid\study_nodejs>express helloworld 'express'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다. 해결방법 express-generator 설치 후 다시 실행 npm install express-generator -g express helloworld 정상적으로 생성된 것을 확인 할 수 있습니다. tree helloworld /f
-
Java vs JavaScript - 자바와 자바스크립트 차이
자바(Java) vs 자바스크립트(JavaScript) JAVAJavaScript썬마이크로 시스템즈에서 개발한 프로그래밍 언어넷스케이프에서 개발한 프로그래밍 언어객체 지향 프로그래밍 언어웹 브라우저에서 동작하는 스크립트 언어독립적인 응용프로그램 형태로 존재HTML 문서 내부에 위치해 대화형 기능을 추가하는 용도(웹 브라우저에서 동작) 인도 vs 인도네시아자바와 자바스크립트는 '인도'와 '인도네시아'의 차이 인도 인도네시아 남아시아에 있는 나라,인도 아대륙의 대부분을 차지.국가 면적은 세계에서 일곱번째인구는 12억 이상으로 중화인민공화국에 이어 세계에서 두 번째 동남아시아와 오세아니아에 걸쳐 있는 섬나라세계에서 가장 많은 18,108개 섬으로 구성한국 및 중국에서는 한자 가차 인도니서아(印度尼西亞)의 줄임..
-
상속- 15.html
상속 자바스크립트에서는 프로토타입을 이용한 상속을 이용해서 상속작업을 수행 소스 코드 /* 자바스크립트에서는 프로토타입을 이용한 상속을 이용해서 상속작업을 수행 */ function Human(age){ //프로퍼티 = 지역변수 this.age = age; } //프로토타입이 상속되어 짐 그래서 자바스크립트의 상속을 프로토타입 상속이라고 함 Human.prototype.type = '인간'; Human.prototype.getType = function(){ return this.type; }; Human.prototype.getAge = function(){ return this.age; }; var human = new Human(30); document.write('human.type: ' + hu..
-
try~catch- 14.html
try~catch 소스 코드 function Rectangle(width, height){ var width = width; var height = height; this.getWidth = function(){ return width; }; this.getHeight = function(){ return height; }; this.setWidth = function(width){ if(width
-
13.html-은닉화 / 캡슐화
은닉화 / 캡슐화 소스 코드 function Rectangle(width, height){ //지역변수는 외부에서 호출 불가(은닉화) var width = width; var height = height; this.getWidth = function(){ return width; }; this.getHeight = function(){ return height; }; } var rectangle = new Rectangle(6, 8); //외부에서 호출불가 document.write(rectangle.width + ', ' + rectangle.height + ' '); //메소드를 통해 접근 document.write(rectangle.getWidth() + ', ' + rectangle.getHeig..