a = {}
|
|
a.b = fun () {
|
|
switch (1) {
|
|
case 1:
|
|
throw { name: "EvalError", message: "oops" }
|
|
}
|
|
}
|
|
invoke(a, a.b, {})
|