js2-mode treats this as an error, and while I haven't actually read this
part of the js spec, Spidermonkey/Firefox doesn't:
var foo = {};
foo.return = 42;
foo.import();
This wouldn't come up much, except that Firefox 3 now has a way to import
scripts via Components.utilities.import() that is becoming more and more
common.
Original issue reported on code.google.com by dlb...@gmail.com on 10 Apr 2008 at 11:54
Original issue reported on code.google.com by
dlb...@gmail.com
on 10 Apr 2008 at 11:54