進階-module pattern
var Module =
(function () {
var x = "Hello!!"; // I will invoke myself
return {
name:"apple",
test: function(){},
}
})();Last updated
var Module =
(function () {
var x = "Hello!!"; // I will invoke myself
return {
name:"apple",
test: function(){},
}
})();Last updated