Sign in
chromium
/
external
/
github.com
/
v8
/
node
/
refs/heads/main
/
.
/
test
/
message
/
assert_throws_stack.js
blob: 36bc5734cae37f43a3fc74be751bf757fb7d3641 [
file
] [
log
] [
blame
] [
edit
]
'use strict'
;
require
(
'../common'
);
const
assert
=
require
(
'assert'
).
strict
;
assert
.
throws
(()
=>
{
throw
new
Error
(
'foo'
);
},
{
bar
:
true
});