export in JavaScript

var name = "AAA";
    var city = "City";
    function showName(){
         alert("Your name is: " + name);
    }
    export name, city, showName