v/vlib/v/gen/js/tests/simple.js
2020-05-21 16:17:16 +03:00

44 lines
602 B
JavaScript

// V_COMMIT_HASH 0de70e8
// V_CURRENT_COMMIT_HASH 0de70e8
// Generated by the V compiler
"use strict";
/* namespace: builtin */
const builtin = (function () {
/**
* @param {string} s
* @returns {void}
*/
function println(s) {
console.log(s);
}
/**
* @param {string} 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 {
};
})();