InterviewSolution
Saved Bookmarks
| 1. |
Which process is used for the creation of the end result?(a) render()(b) compile()(c) eval(x)(d) encodeURI()This question was posed to me during an online interview.My doubt is from Using Image Sprites & Standardizing Client-Side Templating topic in portion HTML Images & Web Page Files of HTML |
|
Answer» RIGHT ANSWER is (a) render() Explanation: render() process creates the end result by putting actual DATA in the template. It means that the placeholders are REPLACED with the previous actual data, COMPILE() is used for translating and compiling a template into a JavaScript function. |
|