Pergunta de entrevista da empresa MyVest

JS Hoisitngs,Remove all elemnts from an array in one line of code.Local and global varibales,design patterns,API's restful and deep into it,Was asked to write level order search.