blob: 609bd9caf83fe25cd4271b044527eee6e0107cbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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');
},
};
|