mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
46 lines
624 B
JavaScript
46 lines
624 B
JavaScript
// V_COMMIT_HASH 2943bdc
|
|
// V_CURRENT_COMMIT_HASH ad5deef
|
|
// Generated by the V compiler
|
|
|
|
"use strict";
|
|
|
|
/** @namespace builtin */
|
|
const builtin = (function () {
|
|
/**
|
|
* @function
|
|
* @param {any} s
|
|
* @returns {void}
|
|
*/
|
|
function println(s) {
|
|
console.log(s);
|
|
}
|
|
|
|
/**
|
|
* @function
|
|
* @param {any} s
|
|
* @returns {void}
|
|
*/
|
|
function print(s) {
|
|
process.stdout.write(s);
|
|
}
|
|
|
|
/* module exports */
|
|
return {
|
|
println,
|
|
print,
|
|
};
|
|
})();
|
|
|
|
/** @namespace main */
|
|
const main = (function () {
|
|
/* program entry point */
|
|
(function() {
|
|
builtin.println("hello world");
|
|
})();
|
|
|
|
/* module exports */
|
|
return {};
|
|
})();
|
|
|
|
|