▲ Hack is to PHP what ES6 is to JavaScript at blog.vjeux.com▼2 up and 1 down, posted by 紫云飞 3879 days ago 1 comment
pselviakcay 3878 days ago. link 1 point ▲ ▼You can have private methods in ES6. See: Symbols (Already implemented in Chrome). https://curiosity-driven.org/private-properties-in-javascript