[TypeError: Cannot assign to read only property ‘PI’ of object ‘#’]
When typing the solution I am getting that error, can someone kindly explain, what it means and how to solve it. The solution runs however
[TypeError: Cannot assign to read only property ‘PI’ of object ‘#’]
When typing the solution I am getting that error, can someone kindly explain, what it means and how to solve it. The solution runs however
please share you code ,
and about that error , which simply means you can not assign value to read only property of object
Can you please provide more detail? What are you trying to do? What is the code you’re using to do it? What else have you tried so far?
If you’re using the builtin Math library, then PI
is a constant (3.14159…), so you shouldn’t be trying to change its value.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.