Obfuscate Your JS Code using CLI Option - Demo
As I said, to obfuscate the CommonOperation.js file, I have to use the command-line option. I need to specify the input JS file which is a CommonOperation.js in our case. In the output option, I need to specify the new filename which contains the obfuscated code for this JS file. When I press the enter key, here you can see the new obfuscated JS file is generated.
Before I open the file, let me explain something regarding this command line. Here the output option is optional. If you have not specified this option, then the newly generated obfuscated file will be generated with this (CommonOperation-obfuscated.js) name.