exception: TypeError: Cannot define property 'x': object is not extensible let x undefined true