2020-02-03 07:00:36 +03:00
|
|
|
// Copyright (c) 2019-2020 Alexander Medvednikov. All rights reserved.
|
2019-09-14 23:48:30 +03:00
|
|
|
// Use of this source code is governed by an MIT license
|
|
|
|
// that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
module builtin
|
|
|
|
|
2020-05-21 16:17:16 +03:00
|
|
|
fn JS.console.log(arg ...string)
|
|
|
|
fn JS.process.stdout.write(arg string)
|
2019-09-14 23:48:30 +03:00
|
|
|
|
2020-05-21 23:36:06 +03:00
|
|
|
pub fn println(s any) {
|
2020-05-21 16:17:16 +03:00
|
|
|
JS.console.log(s)
|
2019-09-14 23:48:30 +03:00
|
|
|
}
|
|
|
|
|
2020-05-21 23:36:06 +03:00
|
|
|
pub fn print(s any) {
|
2020-05-21 16:17:16 +03:00
|
|
|
JS.process.stdout.write(s)
|
|
|
|
}
|