일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- File 클래스
- jsp
- 상속
- property
- 코틀린#클래스#상속
- array
- Method
- html
- String
- function
- 자바
- list
- 윈도우 #단축키
- 설치
- GUI
- 연락처 프로그램
- css
- 데이터베이스
- JavaScript
- javaservlet
- jQuery
- 오라클
- kotlin #return #jump
- Event
- spring
- springframework
- 파일 입출력
- Java
- 다형성
- 연산자
- Today
- Total
목록property (2)
Binary World
- 객체의 프로퍼티를 삭제/추가 할 수 있음 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849JavaScript JavaScript Object Property var output = document.getElementById('output'); function Unit(name, money){ this.name = name; this.money = money;} var unit1 = new Unit('probe', 50);for (x in unit1){ output.innerHTML += x + ' : ' + unit1[x] + ' ';}output.innerHTML += ''; // 생성된 ..
- 자바스크립트는 객체(object)가 생성된 이후에 프로퍼티를 추가/삭제할 수 있음! 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647JavaScript 자바스크립트 객체의 프로퍼티 추가/삭제 var output = document.getElementById('output'); // 자바스크립트는 객체(object)가 생성된 이후에 프로퍼티를 추가/삭제할 수 있음!var unit1 = { name: 'scv', money: 50};for (x in unit1){ output.innerHTML += x + ' : ' + unit1[x] + ' ';}output.innerHTML += ''; unit1...