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

8 lines
185 B
JavaScript

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