const for a non-object in javascript means it can ...
# suitescript
c
const for a non-object in javascript means it can only be assigned once.. if you "use strict" itll error out but otherwise it just doesn't get a new value. If you use it on an object, you can only assign 1 object but you can change any of the properties within that object. If you want to make it so that you can't do that you gotta do something like const myObj = Object.freeze(your_object);