8 lines
162 B
JavaScript
8 lines
162 B
JavaScript
|
'use strict'; //jshint evil:true,node:true
|
||
|
try {
|
||
|
new Function('return function*() { yield 3 }')
|
||
|
module.exports = true
|
||
|
}
|
||
|
catch (e) {
|
||
|
module.exports = false
|
||
|
}
|