swahili-lang
Version:
A new programming language with semantics borrowed from the Swahili language to help teach programming concepts to Swahili speaking students.
16 lines (13 loc) • 425 B
JavaScript
const SWNull = require('../../types/null');
const RTResult = require('../../runtimeResult');
/**
* Clears the terminal
* @param {SWBuiltInFunction} inst the instance of the built in function
* @param {Context} executionContext the calling context
*/
function futa(inst, executionContext) {
let res = new RTResult();
console.clear();
return res.success(SWNull.NULL);
}
module.exports = { method: futa, args: [] };