just confused at how to run the code (ie seperate each line and its contents)

let t = `write yo
writeln x`;

function run(code) {
let a = code.split("\n");
for (let i = 0; i < a.length; i++) {
	let command = a[i];
}
}

tysm

whats t for though

running a code

I figured it out now lol

View all comments