author-pic

Nisan Coşkun

1 post tagged with "javascript"

Private Members in Javascript Classes

Posted on January, 2019

Unfortunately there is no native private properties in Javascript. But there is a few way to mimic that behavior.1. Scoped variablesDon't attach the new properties to the object, but keep them inside…

Read full post