Show HN: JavaScript-Lua Polyglot
gist.github.comI tried to search but not found how to write JavaScript-Lua polyglot, so I do it by myself.
If you know polyglot for other languages, please share them. I don't get what this is... A script that can be run as JavaScript or Lua. When run as Lua, it outputs "lua". When run as JavaScript, it outputs "js".