786
Exam Answer
(programming.dev)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Is it wrong that I'm stuck trying to figure out what language this is?
Trying to figure out what string.length and print(var) exist in a single language.... Not Java, not C# (I'm pretty sure its .Length, not length), certainly not C, C++ or Python, Pascal, Schme or Haskell or Javascript or PHP.
OCR exam language, a pseudocode format.
This could run in Javascript if you setup print as an alias for window.alert or console.log
It can run in regular JS;
print()just prints the page (ignoring the passed value).undefined