A user asked me a question in a recent training session. Can you use a constructor to create primitives? In other words: var x = new Boolean(false); I thought about it, and answered, “Sure. But why?” I mean, we aren’t…
A user asked me a question in a recent training session. Can you use a constructor to create primitives? In other words: var x = new Boolean(false); I thought about it, and answered, “Sure. But why?” I mean, we aren’t…