Anonymous Content interview question

an obfuscated javascript code that you need to deobfuscate and understand its purpose