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

http://stackoverflow.com/questions/3963881/javascript-import-and-export-function-usage

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 <hansonr@stolaf.edu> wrote:
Oh JavaScript whizzes,

Why do you suppose this is the case?

<script>

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

</script>


Bob


--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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