Categories



    Deep dive into public and private instance fields in JavaScript (ECMAScript 2022)


    Thu Oct 21 2021

    Source: Deep dive into public and private instance fields in JavaScript (ECMAScript 2022)

    Class fields declaration allows declaring fields, up-front making class definitions become more self-documenting. As declared fields are always present, instances go through fewer state transitions. These class fields features would be officially included in ECMAScript 2022.


    Vote




    Comment Section



      Recent Comments