Pregunta de entrevista de Broadcom

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