일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- html
- list
- 오라클
- function
- 코틀린#클래스#상속
- 연락처 프로그램
- javaservlet
- String
- array
- jQuery
- GUI
- Event
- Method
- Java
- 연산자
- property
- File 클래스
- 설치
- spring
- JavaScript
- springframework
- css
- 윈도우 #단축키
- jsp
- 자바
- 파일 입출력
- 다형성
- kotlin #return #jump
- 상속
- 데이터베이스
- 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...