...

/

JavaScript Private Fields and TypeScript

JavaScript Private Fields and TypeScript

Learn about the private fields in ECMAScript and its comparison with TypeScript access modifiers.

Introduction to ES6 private fields

An experimental proposal to the ECMAScript standard introduces the concept of a private field by using the hash (#) symbol before a property name.

This means that if we are targeting a runtime that ...