Posts Tagged ‘Closures’

After always wondering if it was possible to create private members somehow in JavaScript, I finally took it upon myself to investigate. Due to a concept of ‘closures’ relating a symbol’s scope it is possible to create private class instance members/methods.