Broadcom Interview Question

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