Decrypting is based on executing the obfuscated code and extracting the real string values of the source code. After that, replace the string values in right places and remove the trash code.
Do not confuse encrypted files with minimized files. Minimized js file is the same source code file with no spaces. Sometimes variable/functions names are replaced with simple letters like “a”, “b”, etc. The code is still readable. Anyone can replace these names with suitable and more human names.