JavaScript 60 🧬 Class fields — public/private/static
Class fields are the modern way to declare properties on a class. They replace constructor assignments, give you true private fields with #, and provide static members for class-level data. Combined with static initialization blocks, they make class definitions cleaner and more powerful. Key point: Class fields are per-instance by default. #private fields are truly…