V
VK
Not to say these quirks are having any practical importance, but i)
named function expression namespace and ii) terminal elision treatment
are IE's JScript "branded" features since forever.
If anyone has IE9 installed could you tell the results for:
(function f() {
/* NOP */
})();
var arr = [0,1,];
// Should be undefined, IE<=8 gives function
window.alert('type of f: ' + typeof f);
// Should be 2, IE<=8 gives 3
window.alert('array length: ' + arr.length);
Just curious how IE "sticks to the traditions"
named function expression namespace and ii) terminal elision treatment
are IE's JScript "branded" features since forever.
If anyone has IE9 installed could you tell the results for:
(function f() {
/* NOP */
})();
var arr = [0,1,];
// Should be undefined, IE<=8 gives function
window.alert('type of f: ' + typeof f);
// Should be 2, IE<=8 gives 3
window.alert('array length: ' + arr.length);
Just curious how IE "sticks to the traditions"