package testing;
public class ExceptionHandling {
public static void main(String[] args){
try{
int a=10;
int b=0;
int c=a/b;
ExceptionHandling exp = null;
Sy
有沒有辦法在生成器的finally塊中訪問迭代器的最終值? function*generator() {
try {
let value1 = yield(1)
let value2 = yield(2)
} finally {
console.log("Ending, how to access the result? (4)")
}