←
^
→
JavaScript
Defining new Function Properties
Useful when your function needs to remember state
getuid.id=0;
function
getuid
() {
return
getuid.id++; }
getuid()
José M. Vidal
.
44 of 65