blob: a6c016c4efada999b25cece2f50aa2c6facc3237 [file] [log] [blame]
function*gen(){}
function*gen(){1}
function* gen(){}
function* gen(){1}
function *gen(){}
function *gen(){1}
function*gen(){yield}
function*gen(){yield x}
function*gen(){yield"x"}
function*gen(){yield[x]}
function*gen(){yield foo()}
function *gen(a=1,[b,c],...rest){return yield yield foo("foo")}
// ES2018 - Async Iteration / Async Generators
async function*gen(){}
async function*gen(){1}
async function* gen(){}
async function* gen(){1}
async function *gen(){}
async function *gen(){1}
async function*gen(){yield}
async function*gen(){yield x}
async function*gen(){yield"x"}
async function*gen(){yield[x]}
async function*gen(){yield foo()}
async function *gen(a=1,[b,c],...rest){return yield yield foo("foo")}