KJS: move println to kotlin.io; import kotlin.io by default in Default platform
This commit is contained in:
@@ -2,6 +2,7 @@ var buffer = "";
|
||||
|
||||
function writeToBuffer(a) {
|
||||
var type = typeof a;
|
||||
if (type === "undefined") return;
|
||||
if (type !== "string") throw Error("Expected string argument type, but got: " + type);
|
||||
|
||||
buffer += a;
|
||||
|
||||
Reference in New Issue
Block a user