UNPKG
qjs
Version:
latest (0.0.2)
0.0.2
0.0.1
0.0.0
Use the await keyword with Q promises to tame your async code
ForbesLindesay/QJS
qjs
/
test
/
fixtures
/
runs.js
10 lines
(9 loc)
•
233 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
require
(
'../../'
).compile(
module
,
function
()
{
module
.exports.ran =
true
;
module
.exports.withoutCallingYield =
function
()
{
if
(
false
) {
yield
(
'foo'
); }
return
'bar'
; }; });