Many posts have stated that compiling or otherwise protecting javascript code is not fundamentally possible in the browser context, for example:
How do I protect javascript files?
However, nw.js (fka node webkit) says that it makes it possible to protect javascript source code for use in a browser context through compilation:
Is it truly possible to protect js code through compilation using nw.js (or other tools), which would mean that prior posts on this topic may need to be revised? Is this actually correct?
To be clear, I'm not asking about Obfuscation, which makes the code hard to read but can be reverse-engineered, eg see:
How can I obfuscate (protect) JavaScript?
I'm asking about whether there is a practical process that would make javascript code sufficiently protected that it would be hard or ideally impossible to reverse-engineer (harder than just using good obfuscation).
Thanks