Tag Archives: JavaScript

Nodejs Restarts WTF

Tired of restarting nodejs every time you make a change to a js file? Well this issue has been fixed already and here is the solution. Thanks to Remy Sharp and his work on nodemon! To get going install nodemon like so. npm install -g nodemon Then you can start your app like so. nodemon [...]

Continue Reading

Quick Tip JavaScript strings to numbers

This tip is really just different ways to convert strings to numbers. Did you know that the follow code works just fine: var string_to_number = "10" * "10"; // result 100 I thought that was cool, but funky right? Note, this does not work with the “+” operator. So a cool way to convert a [...]

Continue Reading

Quick Tip JavaScript concat operator

JavaScript has string concatting built into the langauge for example. var hello = "hel" + "lo" This is not the interesting point I wanted to talk about. It actually gets more interesting on what happens when you concat string literals with numbers. For example: var x = "33" + 3 // result "333" Notice the [...]

Continue Reading

Hello JavaScript

I first started development back in High School At a Career center. After picking HTML, JavaScript was the next “real” language my instructor required us to learn. I picked it up but the path was not easy. Several years and several languages later. My JavaScript skills were long forgotten. I must have been under a [...]

Continue Reading