You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was sad to see Object.freeze at the bottom, included in the 'Crazy shit' group. I've been using it in some of my projects lately, but only by using the constant naming convention, like enums. There are also some speed optimizations appearing when using Object.freeze. Any further thoughts on this? Would it make sense to take it out of the 'Crazy shit' group, when used with a naming convention?
Great guide, thank you!
I was sad to see Object.freeze at the bottom, included in the 'Crazy shit' group. I've been using it in some of my projects lately, but only by using the constant naming convention, like enums. There are also some speed optimizations appearing when using Object.freeze. Any further thoughts on this? Would it make sense to take it out of the 'Crazy shit' group, when used with a naming convention?
A little more info with a small example:
http://stackoverflow.com/a/31906266/2280394
The text was updated successfully, but these errors were encountered: