Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

Summary

Core Object

A top-level object used to access any Java class in the package sun.*.

Created by

The sun object is a top-level, predefined JavaScript object. You can automatically access it without using a constructor or calling a method.

Description

The sun object is a convenience synonym for the property Packages.sun.

See also

Packages, Packages.sun

Document Tags and Contributors

 Contributors to this page: fscholz, Sevenspade, Mgjbot, Ptak82, Maian, Dria
 Last updated by: fscholz,