Using the const keyword in JavaScript makes a variable immutable. This means you are not allowed to change an objects identity, once it has been assigned. However, strictly a property inside of an object may be altered, unless you specifically declare otherwise. This is what the lesson is getting you to do. You assigned MATH_CONSTANTS.PI = 3.14, then, in your try block, you try to reassign its value to 99. This is not allowed.
You declared MATH_CONSTANTS of type const (technically const is not a type), but you are performing an operation on it that is not allowed with that type. Ergo, TYPE_ERROR.