JavaScript Quiz Practice
Active Recall Drill Session
← Exit SessionQuestion 1 of 1
hardJavaScript
What does this log?
code
function* g() {
const x = yield 'first';
console.log('got:', x);
}
const it = g();
it.next('ignored');
it.next('used');Loading compiler resources...
Active Recall Drill Session
function* g() {
const x = yield 'first';
console.log('got:', x);
}
const it = g();
it.next('ignored');
it.next('used');