Pergunta de entrevista da empresa Broadcom

How to check the syntax of the given symbol in javascript. Like {(})(