Resolver interview question

How to click using javaScriptExecutor