mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
16 lines
363 B
V
16 lines
363 B
V
// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved.
|
|
// Use of this source code is governed by an MIT license
|
|
// that can be found in the LICENSE file.
|
|
|
|
module builtin
|
|
|
|
fn JS.console.log(arg ...string)
|
|
fn JS.process.stdout.write(arg string)
|
|
|
|
pub fn println(s string) {
|
|
JS.console.log(s)
|
|
}
|
|
|
|
pub fn print(s string) {
|
|
JS.process.stdout.write(s)
|
|
} |