4 ms·
Because this isn't immutability. The goal is to have a way to define an object that will never change after initialisation, and JS's const isn't it.
by maleldil 1y ago
Because this isn't immutability. The goal is to have a way to define an object that will never change after initialisation, and JS's const isn't it.