Not sure what you were going for here Bob, but import() and export() were deprecated ages ago, it seems. Unpredictable behavior should be expected.

Cheers, Mike

Mike Evans
Organic Chemistry Graduate Student, Moore Group
University of Illinois, Urbana-Champaign

On Fri, Jun 15, 2012 at 12:04 PM, Robert Hanson <> wrote:
Oh JavaScript whizzes,

Why do you suppose this is the case?


test = function() {}

test.prototype.test1 = function() {

  this.eexport() // ok in Firefox and MSIE

  this.export()  // ok in Firefox; fails in MSIE: "SCRIPT1010: Expected identifier"

alert("OK") // only gets here in Firefox



Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN

If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900