How can this code be executed without co?

var co = require("co");
var fetch = require("node-fetch");

function* gen () {
  let url = "https://api.github.com/users/github";
  let result = yield fetch(url);
  let json = yield result.json();
  console.log(json);
}

co(gen);

do not use the co library, do not change the gen function, how to execute the gen function with native generator?

Mar.13,2021

Found in
  ES asynchronous task encapsulation . 

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4f5d9-45027.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4f5d9-45027.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?