Object.freeze works only on objects.