|
@@ -224,7 +224,7 @@ export default class Blob extends EventTarget {
|
224
|
224
|
* @param {string} contentType Optional, content type of new Blob object
|
225
|
225
|
* @return {Blob}
|
226
|
226
|
*/
|
227
|
|
- slice(start:?number, end:?number, contentType='':?string):Blob {
|
|
227
|
+ slice(start:?number, end:?number, contentType:?string=''):Blob {
|
228
|
228
|
if(this._closed)
|
229
|
229
|
throw 'Blob has been released.'
|
230
|
230
|
log.verbose('slice called', start, end, contentType)
|