Follow

ecmascript think 

you can always access superclass private fields inside of subclasses if you simply define the subclass within the lexical scope of the superclass :blobmeow_wisethinking:

re: ecmascript think 

@Lady Did not realize the proposal for private fields finally passed! Very cool

re: ecmascript think 

@wallhackio oh yeah i'm not sure when they actually officially made it into spec but they've been supported in browsers for a while now

it was what finally got me to move over to using the class syntax instead of just manually defining the prototypes on functions lmao

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.