upvote
Just call "Object.freeze()" before "return" in your function.
reply
That only goes one level deep so it’s not much of a guarantee
reply