DEV Community

Cover image for JavaScript Const Keyword
Onyedikachi Emmanuel Nnadi
Onyedikachi Emmanuel Nnadi

Posted on

JavaScript Const Keyword

Did you know for the week?

JavaScript Edition

JavaScript’s const keyword doesn’t make variables immutable. It prevents the identifier from being reassigned, but the underlying data can still be modified. This makes const ideal for maintaining constants while allowing changes to the data structure!

Top comments (0)