INNER CODE UNIT · JavaScript

match

sebastiancarlos/beachpatrol · beachmsg.js:195

              const match = file.match(/^(.*)\.(js|ts)$/);
              return match ? [match[1]] : [];
            });
        } catch {
          return [];
        }
      }),
    ),
  ].sort();
  console.log(commands.length ? commands.join("\n") : "No commands available.");
  process.exit(0);
}

// Parse routing flags
let browser = "chromium";
let profileName = "default";
let incognito = false;
let i = 2;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…