1.

What is the purpose of the UgilifyJS?(a) Exposes a simple API(b) Minification(c) Both Exposes a simple API and Minification(d) CompilationThe question was posed to me in semester exam.This interesting question is from Parsing Values using JavaScript topic in chapter Parsing, Benchmarking and Logging of JavaScript

Answer»

Right option is (c) Both EXPOSES a simple API and Minification

To explain I would say: UglifyJS is a JavaScript compressor/minifier WRITTEN in JavaScript. UglifyJS2 is an EXCELLENT tool to help you minify your JavaScript! It’s a tried and tested tool, USED by LIBRARIES such as jQuery.



Discussion

No Comment Found

Related InterviewSolutions