Fill the blank
// signal a failure to the caller
if (!ok) {
____ new Error('failed');
}
Answer: throw
throw raises the error for the nearest catch.
Play Problem Solving ▸
// signal a failure to the caller
if (!ok) {
____ new Error('failed');
}
Answer: throw