From: T.J. Crowder
I'm worried this looks a lot like `with` -- with the same issues. Is the
idea that unqualified references would be _required_ to be properties of
the object in question?
This looks like a with regarding some points, but this is cleary not a with.
I think
var style = "color: red";
var elem = document.createElement("span");
elem.(
className = "hello";
style = style;
id = elem.uniqueID;
);
would be simply rewritten
var style = "color: red";
var elem = document.createElement("span");
elem.className = "hello";
elem.style = style;
elem.id = elem.uniqueID;
Am I right here?
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss