You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,8 +107,8 @@ requireFromString(
107
107
**Note**: by default the [built-in objects](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects) have a different prototype.
108
108
109
109
```js
110
-
consterr=requireFromString('module.exports = new Error()')
111
-
errinstanceofError// => false
110
+
consterror=requireFromString('module.exports = new Error()')
0 commit comments