ecma262
JavaScript: Can ECMAScript 5's Strict Mode ("use strict") be enabled using single quotes ('use strict')?
JavaScript doesn\'t care if your Strings are double-quoted \"double\" or single-quoted \'single\'. Every example of ECMAScript 5\'s strict mode has it enabled by \"use strict\" in double-quotes. Can[详细]
2023-02-14 23:52 分类:问答Indirect function call in JavaScript
There are things like f.call(...) f.apply(...) But then there\'s this (1, alert)(\'Zomg what is this????!!!11\')[详细]
2023-02-14 09:36 分类:问答Is ECMAScript really a dialect of Lisp?
A friend of mine drew my attention the welcome message of 4th European Lisp Symposium: ... implementation and application of[详细]
2023-02-11 10:14 分类:问答Javascript maximum size for types?
Looking into javascript types I\'m trying to find out what the maximum storage size for some data types are. For instance, I set up a quick recursive algo to increase var size till the browser crashes[详细]
2023-02-05 05:41 分类:问答Why does `typeof this` return "object"?
var f = function(o){ return this+\":\"+o+\"::\"+(typeof this)+\":\"+(typeof o) }; f.call( \"2\", \"2\" );[详细]
2023-01-29 07:07 分类:问答How to make sure ES3 programs will run in an ES5 engine?
So ECMAScript 5 introduces some incompatibilities with ECMAScript 3. Example: Many articles have been written stating that this === null || this === undefined is possible in ES5 strict mode:[详细]
2023-01-22 01:38 分类:问答ECMA- / Javascripts Array.prototype.forEach
Javascript (ECMAscript) supports the Array.prototype.forEach method since version 1.6 (ECMAscript edition 3, 2005). So quite a lot of browser already support that method and it\'s incredibly fast in c[详细]
2023-01-21 00:33 分类:问答Object.defineProperty in ES5?
I\'m seeing posts about a \'new\' Object.create that makes enumeration configurable.However, it relies on a Object.defineProperty method.I can\'t find a cross browser imp开发者_如何转开发lementation f[详细]
2023-01-18 17:58 分类:问答What's a valid left-hand-side expression in JavaScript grammar?
Okay, we all know what the valid left-hand-side expressions are. Kind of.* But, looking at the definition from the ECMA-Script standard, I\'m very confused:[详细]
2023-01-16 06:41 分类:问答Why is ECMAScript still not a recommendation of W3C?
In theory browsers could support several programming languages for client-side scripting of web pages. In practice, ECMAScript is the only one widely implemented and used in all browsers. So for most[详细]
2023-01-12 18:14 分类:问答