1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

js: port more methods (os, builtin) (#12238)

This commit is contained in:
playX
2021-10-20 16:02:21 +03:00
committed by GitHub
parent 7c1fff3495
commit 57c79770b3
6 changed files with 83 additions and 8 deletions

View File

@@ -6,6 +6,7 @@ module builtin
fn (a any) toString()
[noreturn]
pub fn panic(s string) {
eprintln('V panic: $s\n$js_stacktrace()')
exit(1)