| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0d3ef5b commit a253704
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,7 +141,7 @@ function setupNextTick() { | |||
| 141 | 141 | callback(args[0], args[1], args[2]); | |
| 142 | 142 | break; | |
| 143 | 143 | default: | |
| 144 | - callback.apply(null, args); | ||
| 144 | + callback(...args); | ||
| 145 | 145 | } | |
| 146 | 146 | } | |
| 147 | 147 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -51,7 +51,7 @@ process.nextTick((a, b) => { | |||
| 51 | 51 | }, 42, obj); | |
| 52 | 52 | ||
| 53 | 53 | process.nextTick(function() { | |
| 54 | - assert.strictEqual(this, null); | ||
| 54 | + assert.strictEqual(this, undefined); | ||
| 55 | 55 | }, 1, 2, 3, 4); | |
| 56 | 56 | ||
| 57 | 57 | process.nextTick(() => { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments