export : export « Global « JavaScript Tutorial






Export makes objects, properties, and methods accessible to other unsigned scripts.

<html>
    <body>
    <script language = "JavaScript">
    <!--
    var name = "AAA";
    var city = "City";
    function showName(){
         alert("Your name is: " + name);
    }
    export name, city, showName
    -->
    </script>
    </body>
    </html>








8.4.export
8.4.1.export