We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

export Redirect 1



Allows a signed script to provide properties, functions, and objects to other signed or unsigned scripts. This feature is not in ECMA-262, Edition 3.

Version Information

Implemented in: JavaScript 1.2, NES 3.0


export name1, name2, ..., nameN;

export *;


Property, function, or object to be exported.


Typically, information in a signed script is available only to scripts signed by the same principals. By exporting properties, functions, or objects, a signed script makes this information available to any script (signed or unsigned). The receiving script uses the companion import statement to access the information.

The first syntax exports the specified properties, functions, and objects.

The second syntax exports all properties, functions, and objects from the script.

See also



Document Tags and Contributors

Last updated by: Sheppy,