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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user