Created
May 19, 2018 16:37
-
-
Save khg0712/0cc70145972475f2cd1f7a7a7405b7b6 to your computer and use it in GitHub Desktop.
함수 프로퍼티 예시
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var add = function(a,b) { | |
return a + b; | |
}; | |
add.k = 0; | |
console.log(add.k);//0 출력 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment