GT2/GT2-iOS/node_modules/degenerator/test/get-example.expected.js

11 lines
234 B
JavaScript

function* myFn() {
var one = yield get('https://google.com');
var two = yield get('http://nodejs.org');
var three = JSON.parse(yield get('http://jsonip.org'));
return [
one,
two,
three
];
}