Skip navigation

Category Archives: javascript

Every object has a hidden [[Prototype]] property, which is used for inheritance. Functions additionally have a public prototype property, which is used only when the function is used as constructor: When an object is constructed using new, the [[Prototype]] property of the new object is set to the prototype property of the function that was used as constructor.

[[Prototype]] is accessible via __proto__ or getPrototypeOf in some browsers.

Use unescape instead:

URIError: URI malformed


It doesn’t turn %96 in the em dash it’s supposed to be, but at least it doesn’t throw an error.

Posted via email from Apphacker’s learning curve