JavaScript Tutorial/Global/export
Версия от 18:52, 25 мая 2010; (обсуждение)
export
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>