My task was to create an object/class called MrFreeze and mark this object as frozen so that no other changes can be made to it.]
I came up with the following solution which worked:
Object.freeze(MrFreeze);
But then as I viewed the solutions provided on http://www.codewars.com I came across this code:
(Object.freeze || object)(MrFreeze);
I fail to understand this line of code. Please explain why this works when using a OR object operator.