I will try when im at home. Thanks :)
Update store.ts.hbs
We did not remove a feature - we fixed an unintentional inconsistency, which some users relied upon. This const behavior was not reliable, not expected by the majority of users, and you'd lose data if the script reference count would reach 0. So the documentation cant be trusted?
I mean according to you an unintended feature got clearly documented.
But im glad you removed it now without an alternative :) That was a good decision.
Since objects, arrays and dictionaries are passed by reference, constants are "flat". This means that if you declare a constant array or dictionary, it can still be modified afterwards. They can't be reassigned with another value though.
Either wait for Godot 5 or switch to another engine