Solving the SAP TechEd Easter Egg on the Web
If you're at SAP TechEd 2023 in Bengaluru, India you may have seen a little Easter Egg in the form of some Node.js code.
If you've seen it and are curious about it, and want to execute it but don't know how, there are plenty of ways you can do it on the Web. You don't need to install Node.js on your machine if you don't want to.
It's important to realise that while Node.js is JavaScript, it comes with more libraries and features relating to the runtime context that it provides. Think of it as "JavaScript++". So you can't run the Easter Egg code in, say, the Chrome Developer Tools console, for example.
But you can run it on the Web. Here are a few places where this is possible:
replit lets you "build software collaboratively with the power of AI, on any device, without spending a second on setup".
CodeSandbox "keeps you in flow by giving you cloud development environments that resume in 1 second".
RunKit "is a node playground in your browser".
And of course, it almost goes without saying that you can run it in a Dev Space in the SAP Business Application Studio.
So what are you waiting for? Stare at the code, try and work out what it's doing, what it emits, and if you get stuck, run it in one of these Web-based environments and see where it leads you. And have fun!