Skip to content

Commit

Permalink
docs: add comment on the list of nativeExceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gunar committed Oct 15, 2017
1 parent f4c90a7 commit 64347b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ describe('go', () => {
assert(! result)
})

// According to You Don't Know JavaScript
// https://github.com/getify/You-Dont-Know-JS/blob/31e1d4ff600d88cc2ce243903ab8a3a9d15cce15/types%20%26%20grammar/ch3.md#date-and-error
const nativeExceptions = [
EvalError,
RangeError,
Expand Down

0 comments on commit 64347b1

Please sign in to comment.