mirror of https://github.com/nodejs/node.git
12 lines
242 B
JavaScript
12 lines
242 B
JavaScript
|
// Flags: --trace-uncaught
|
||
|
'use strict';
|
||
|
require('../common');
|
||
|
throw { // eslint-disable-line no-throw-literal
|
||
|
get stack() {
|
||
|
throw new Error('weird throw but ok');
|
||
|
},
|
||
|
get name() {
|
||
|
throw new Error('weird throw but ok');
|
||
|
},
|
||
|
};
|