Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Show HN: How to do private variables in JavaScript | Better HN
Show HN: How to do private variables in JavaScript
(gist.github.com)
2 points · by
CodingSucks
· 7y ago · 1 comment
Comments
[–]
_bxg1
7y ago
A slick solution. But I've given up on runtime guards in JS; life is just better with a type system.