HashedIn by Deloitte interview question

All JavaScript internet copy paste code questions :)