Microsoft interview question

Selenium: how to execute javascripts from selenium