mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
jsgen: class -> factory
This commit is contained in:
@ -7,10 +7,10 @@ module builtin
|
||||
fn JS.console.log(arg ...string)
|
||||
fn JS.process.stdout.write(arg string)
|
||||
|
||||
pub fn println(s string) {
|
||||
pub fn println(s any) {
|
||||
JS.console.log(s)
|
||||
}
|
||||
|
||||
pub fn print(s string) {
|
||||
pub fn print(s any) {
|
||||
JS.process.stdout.write(s)
|
||||
}
|
Reference in New Issue
Block a user