lepu-test-platform-web/node_modules/fibers/test/already-running.js

13 lines
190 B
JavaScript
Raw Normal View History

// gh-8
var Fiber = require('fibers');
try {
Fiber(function() {
var that = Fiber.current;
Fiber(function(){
that.run();
}).run();
}).run();
} catch(err) {
console.log('pass');
}