docs: function tryExtensions(p, exts, isMain) {
    for (var i = 0; i < exts.length; i++) {
      const filename = tryFile(p + exts[i], isMain);
  
      if (filename) {
        return filename;
      }
    }
    return false;
  }