MCPcopy Create free account
hub / github.com/buke/quickjs-go / exit

Function exit

deps/quickjs/repl.js:1524–1527  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

1522 }
1523
1524 function exit(e) {
1525 save_history();
1526 std.exit(e);
1527 }
1528
1529 function to_bool(s, def) {
1530 return s ? "1 true yes Yes".includes(s) : def;

Callers 15

parse_unicode_dataFunction · 0.85
parse_special_casingFunction · 0.85
parse_case_foldingFunction · 0.85
parse_prop_listFunction · 0.85
parse_scriptsFunction · 0.85
parse_script_extensionsFunction · 0.85
build_conv_tableFunction · 0.85
check_case_convFunction · 0.85
check_flagsFunction · 0.85

Calls 1

save_historyFunction · 0.85

Tested by 3

fatalFunction · 0.68
perror_exitFunction · 0.68
helpFunction · 0.68