This website requires JavaScript.
Explore
Help
Register
Sign In
daohualiuxiang
/
node
mirror of
https://github.com/nodejs/node.git
Watch
1
Star
0
Fork
You've already forked node
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
686a85ff43
node
/
test
/
message
/
throw_undefined.js
6 lines
99 B
JavaScript
Raw
Normal View
History
Unescape
Escape
test: enable linting for tests Enable linting for the test directory. A number of changes was made so all tests conform the current rules used by lib and src directories. The only exception for tests is that unreachable (dead) code is allowed. test-fs-non-number-arguments-throw had to be excluded from the changes because of a weird issue on Windows CI. PR-URL: https://github.com/nodejs/io.js/pull/1721 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-05-19 19:00:06 +08:00
'use strict'
;
src: only access stack of defined errors Avoid segmentation fault when `undefined` is thrown
2013-12-06 19:56:37 +08:00
var
common
=
require
(
'../common'
)
;
var
assert
=
require
(
'assert'
)
;
throw
undefined
;