Chase Wilson
Chase Wilson

Reputation: 1487

JavaScript import() and export() function usage

I once read about the import() and export() functions and how they relate to frames and that sort of deprecated practices. But i'm wondering if there's any practical use case for these functions on the client side.

Has anybody put import() and export() to use in an interesting way on the browser?

Is there a practical usage with say iFrames?

I was looking at the spec and the MDC docs, but there's really very little regarding these function.

https://developer.mozilla.org/en/JavaScript/Reference/Statements/import
https://developer.mozilla.org/en/JavaScript/Reference/Statements/export

Upvotes: 2

Views: 2670

Answers (1)

Chase Wilson
Chase Wilson

Reputation: 1487

These functions were deprecated back in Netscape 4. They actually only ever worked in Netscape 4.

Upvotes: 4

Related Questions