Re:V8 release v7.2
by munificent on Tuesday December 18, 2018 @05:09PM
(#18711054)
Python name-mangles properties that start with "__" to emulate privacy. Run:
And it prints:
Ruby doesn't really have fields that are private to subclasses, but Ruby also embraces monkey-patching, so that's not entirely surprising.
[ Parent
| on HN ]
There are no comments on this comment yet.