Vidyalelo
JavaScript · Q40

Caching And Debugging

Programming · JavaScript · question 40

Q40

A Blob URL can be created using which of the following function?

A.
createURL()
B.
createObjectURL()
Answer
C.
designURL()
D.
URLCreation()

Answer: Option B

Solution

Answer: Option B
Solution:
Create a Blob URL with the function createObjectURL(). At the time of this writing, the draft specification and Firefox 4 put this function in a global object named URL, and Chrome and Webkit prefix that new global, calling it webkitURL.