Great explanation of this new ES2022 feature. It’s always a happy day when you release a new video! Thank you 🙏
How are you? It was a long gap.I am always wait for your tutorial.
Thanks for checking in. Doing well. It is just getting more difficult to do weekly tutorials, but I plan to keep them coming.
Amazing. Missing you my friend. Long time.
splendid video !
Great video, thank you for this👍
thank you you are the best
Steve, how does this work under the hood though? It seems to me that the private props are not defined in the prototype property of a function, but on the function itself... But then, that would be static properties... So what am I missing here pls.
Great question! 2ality always does a great job at getting into the technicalities. Check this out. Scroll down to the bottom for the discussion: 2ality.com/2019/07/private-class-fields.html
I find it funny, instead of going with the obvious private keyword, let's be different, cool and hip and confuse everyone with # and we are going to make you type it each time you want to use it. I would have accepted just a # when being declared, I think the continual typing of it is a bit much and unnecessary imo
The # is actually part of the property name. But I see what you are saying.
This is the reason why I love JavaScript. It makes our life easier :)