1.

The blobs are broken into smaller pieces using which of the following functions?(a) partition()(b) cut()(c) sliceall()(d) slice()The question was asked in an interview for job.Origin of the question is Blobs in JavaScript topic in chapter Caching, Debugging and Animation of JavaScript

Answer»

Right CHOICE is (d) slice()

Explanation: The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user’s system. The web browser can store Blobs in memory or on DISK, and Blobs can represent REALLY enormous chunks of data (such as video files) that are too large to fit in main memory without FIRST being broken into smaller PIECES with slice().



Discussion

No Comment Found

Related InterviewSolutions