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>