jvilk / BrowserFS

BrowserFS is an in-browser filesystem that emulates the Node JS filesystem API and supports storing and retrieving files from various backends.
Other
3.07k stars 218 forks source link

IE11: SCRIPT5045: Assignment to read-only properties is not allowed in strict mode #261

Closed ZaDarkSide closed 5 years ago

ZaDarkSide commented 5 years ago

In file browserfs.js line 16800

    Buffer.prototype.slice = function slice (start, end) {
      var len = this.length
      start = ~~start
      end = end === undefined ? len : ~~end

I get error SCRIPT5045: Assignment to read-only properties is not allowed in strict mode.

jvilk commented 5 years ago

This is a bug in the buffer module:

https://github.com/feross/buffer/issues/224