It is a template that produces JavaScript. This javaScript then runs in an eval block in response to an AJAX request. Sometimes, this template is also used to define JavaScript, Prototype and helpers offered by Rails.

BY Best Interview Question ON 13 Jan 2019