Closed
Description
- Version:
- Platform: Windows 7 x64
- Subsystem: doc, errors
errors.md
states:
ReferenceError
instances will have anerror.arguments
property 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?