-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.errorsIssues and PRs related to JavaScript errors originated in Node.js core.Issues and PRs related to JavaScript errors originated in Node.js core.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Description
- Version:
- Platform: Windows 7 x64
- Subsystem: doc, errors
errors.md states:
ReferenceErrorinstances will have anerror.argumentsproperty whose value is an array containing a single element: a string representing the variable that was not defined.
However, it seems this property does not exixst anymore in the actual Node.js versions:
try {
doesNotExist;
} catch (err) {
console.log(Object.getOwnPropertyNames(err));
} // v8 4.5.103.45 (Node.js 4.8.0 x64)
[ 'stack', 'message' ]
// v8 5.1.281.93 (Node.js 6.10.0 x64)
[ 'stack', 'message' ]
// v8 5.5.372.40 (Node.js 7.6.0 x64)
[ 'stack', 'message' ]
// v8 5.6.326.55 (Node.js 8.0.0-nightly20170222a1802e670d x64)
[ 'stack', 'message' ]
// v8 5.8.202 (Node.js 8.0.0-pre x64)
[ 'stack', 'message' ]
Is this an unintended loss or is this property removed intentionally?
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.errorsIssues and PRs related to JavaScript errors originated in Node.js core.Issues and PRs related to JavaScript errors originated in Node.js core.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.