Show HN: How to do private variables in JavaScript (gist.github.com) 2 points by CodingSucks 7y ago ↗ HN
[–] _bxg1 7y ago ↗ A slick solution. But I've given up on runtime guards in JS; life is just better with a type system.
1 comment
[ 2.8 ms ] story [ 16.4 ms ] thread