Quantcast
Channel: January 2011 – Where's Walden?
Browsing all 5 articles
Browse latest View live

New ES5 requirement: getters and setters in object literals must not conflict...

Conflicting properties in object literals Object literals in ECMAScript can contain the same property multiple times: var obj = { prop: 42, prop: 17 }; How does this behave? The object, when fully...

View Article


New ES5 strict mode support: new vars created by strict mode eval code are...

tl;dr Ideally you shouldn’t use eval, because it inhibits many optimizations and makes code run slower. new Function(argname1, argname2, ..., code) doesn’t inhibit optimizations, so it’s a better way...

View Article

Image may be NSFW.
Clik here to view.

Property rights without legal enforcement

Can you own something without a government enforcing that ownership right? Sometimes, yes: Property takes many forms Some time ago I read about Boston’s system for allocating parking spaces in snowy...

View Article

New ES5 strict mode requirement: function statements not at top level of a...

Function statements in ECMAScript What’s the effect of this program according to ECMAScript? function foo() { } If you said that it defines a function as a property of the global object,...

View Article

Waiting for Superman

Hacks (if you’re into web developer-y things: subscribe!) has a post on the latest MDN sprint, a well-attended event with many fresh faces. This bodes well for Mozilla documentation. Sheppy always has...

View Article

Browsing all 5 articles
Browse latest View live