GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — js_designpatterns/module.js at master · m1oto/js_designpatterns Expand file tree/ Copy pathmodule.jsMore file actions 14 lines (12 loc) · 212 Bytes / Copy pathmodule.jsFile metadata and controls14 lines (12 loc) · 212 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 //Structure var a = (function(){ //private variables & methods var privateVar = 'X'; //public methods and variables return { getX: function(){ return privateVar; } } })(); a.getX(); //X |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |