You can't use '-'.
To do this exercise in javascript is pretty silly. But as a systems developer, I can tell you that bit manipulation happens all over the place in my line of work.
I totally get what you mean about the skepticism, and I really didn't aim to sound like a spoilsport. However, any would-be (I'm talking zero experience) programmer that looks to this for inspiration is going to be…
I have to ask: How on earth do you find the time to do this? As much as I'd love to do this in order to get my hands dirty on web development and out of systems, I can't ever fathom having the free time available every…
You can't use '-'.
To do this exercise in javascript is pretty silly. But as a systems developer, I can tell you that bit manipulation happens all over the place in my line of work.
I totally get what you mean about the skepticism, and I really didn't aim to sound like a spoilsport. However, any would-be (I'm talking zero experience) programmer that looks to this for inspiration is going to be…
I have to ask: How on earth do you find the time to do this? As much as I'd love to do this in order to get my hands dirty on web development and out of systems, I can't ever fathom having the free time available every…