1// Flags: --trace-uncaught 2'use strict'; 3require('../common'); 4throw { // eslint-disable-line no-throw-literal 5 get stack() { 6 throw new Error('weird throw but ok'); 7 }, 8 get name() { 9 throw new Error('weird throw but ok'); 10 }, 11}; 12