Variable Calculator

Available commands:

Commands Input Example Description
var var y Creates a variable with the value NaN.
let let x=4 Creates or changes the value of a variable of type Number
print print x Outputs the value of the variable
printvars printvars Outputs key=value of all variables
fn fn someFn=x+x Creates a function. When we print someFn it, returns the calculated result
printfns printfns Outputs key=value of all functions

Task from:

🔗 Links

portfolio linkedin