JS--

From Esolang
Jump to navigation Jump to search

This is a joke language, dont take it seriously.
JS-- is Javascript but its just SIMPLER.
The reason this is a esolang is because its JS but... we removed the commands you will soon beg to use.

Commands

  • var (...) = (...); still defines a variable to a value and there is no const or let.
  • (...) = (...); still sets a variable to a value.
  • Normally you would use console.log() but now it is log().
  • Objects? No bro my dog eat them
  • Functions dont have a return statement just like Scratch.
  • DOM is gone.
  • Also i didnt forget about removing all functions associated with internet MUHAHAHHAHAHAHAHA!!!!
  • push pop shift and length is is now not there, all array funcs are gone
  • you can still do array[0], but it adresses from 1 just like scratch
  • even foreach is gone, array methods bye bye
  • ONLY LOOP IS WHILE
  • arrow functions gone
  • template literals dont exist
  • no arrays inside arrays
  • paratheses are ignored
  • you cant +=, -=, *= /=, ++, -- or do any bitwise operations now.
  • true, false and undefined now doesnt exist
  • strings can be written normally without "", finally no string racism