shared by Dirk Sorensby on 17 Aug 12 - No Cached
shared by Javier Neira on 12 Nov 09 - Cached
Brian Hannah liked it
Unfortunately, unlike the built-in properties supplied by
Object.prototype, custom properties added to
Object.prototypewill show up as an object property in any
inloop in the page.
custom properties added to
- ...3 more annotations...
will show up as an object property in any
loop in the page.
var a = "I am a string!"; 2 alert(typeof a); // Will output "string" 3 var b = new String("I am also a string!"); 4 alert(typeof b); // Will output "object"
shared by Javier Neira on 08 Oct 09 - Cached
shared by Julian Knight on 19 Mar 09 - Cached