Created
March 6, 2012 18:42
-
-
Save aareese/1988107 to your computer and use it in GitHub Desktop.
First shot JS code for assigning company shares
If I were you...
I would run it through a syntax checker such as jshint.com
And I would test it at jsfiddle.net
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check out http://visionmedia.github.com/mocha/ for testing. It works in the browser or node.js. Mocha is often paired with http://chaijs.com for the actual assertions in your tests. Don't worry about a console just yet. You can just make a test.html file with the right <script> tags and run your tests that way.