That's certainly reducto-ad-absurdum if iv'e ever seen one.
They're both in the realm of "graphical programming language in the browser". One is a pay-per-$something, and the other is libre/gratis.
And sure, you could use backend js to write scripts to do $thing, but requires a lot of setup to work with different APIs. So absolutely no, js+text editor is nowhere near the same.