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

v.js: make eprintln use console.error

This commit is contained in:
Ole-Martin Bratteng 2019-10-19 14:42:37 +02:00 committed by Alexander Medvednikov
parent 5977fc0644
commit b73387647c

View File

@ -23,7 +23,7 @@ pub fn println(s string) {
} }
pub fn eprintln(s string) { pub fn eprintln(s string) {
#console.log(s) #console.error(s)
} }
pub fn print(s string) { pub fn print(s string) {