Poll, Yes or No: When you code in JavasScript, do you think about internal slots?

Just curious. Please vote Yes or No on my Twitter poll:

I’ll update here with the results after it is complete.

I don’t have twitter but to reply to your question, modern javascript leverages symbols for that and recent Object.prototype methods such as keys, values, entries as well as for…in hide away that abstraction from you.

Therefore, I don’t think about them unless I find a reason that I should for a specific part of code or a specific javascript feature that captures/iterates them.

1 Like