BASIC.js for toUpperCase

I am going to go to an old school in JavaScript and write BASIC.js, which contains features such as:

function UCASE(obj) {
 return obj.toUpperCase();
}

function LCASE(obj) {
 return obj.toLowerCase();
}

Q: Has anyone done this already?

+3
source share
2 answers

I don’t know that someone did it for sure - honestly not sure about the utility, but hey, if it's fun for you, why not?

However, there are several javascript-based BASIC interpreters:

Ngbasic

Enough BASIC

Applesoft BASIC Translator

+4
source

Source: https://habr.com/ru/post/1780519/


All Articles