Thanks for clarification, I had assumed that IIFE captured this as class is created in scope of globalThis, but now I understand that fields of class are invoked inside constructor.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for clarification, I had assumed that IIFE captured
thisasclassis created in scope ofglobalThis, but now I understand that fields of class are invoked inside constructor.