Skip to content

Commit 0c0241a

Browse files
Error#name property might not be enumerable. Forced its enumeration in ExceptionLab.
1 parent d7a267f commit 0c0241a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/functional/ExceptionLab.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function printProp(prop, value) {
1818
function getExceptionProps(ex) {
1919
var prop, props = [], obj = {
2020
message: true,
21+
name: true,
2122
stack: true,
2223
stacktrace: true,
2324
'arguments': true

0 commit comments

Comments
 (0)