Created
February 17, 2015 09:51
-
-
Save domharrington/378242a2ad7c9ed5b9ed to your computer and use it in GitHub Desktop.
Node v0.10.36 and io.js v1.2.0 js error message differences
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var assert = require('assert') | |
assert.throws(function () { | |
var a = {} | |
a.b() | |
}, /undefined is not a function/) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var assert = require('assert') | |
assert.throws(function () { | |
var a = {} | |
a.b() | |
}, /Object #<Object> has no method \'b\'/) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment