feross/buffer

Buffer.prototype.slice fails in in IE11

Open

#224 建立於 2018年12月16日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (259 fork)github user discovery
bughelp wanted

倉庫指標

Star
 (1,883 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

When running it in IE11 I get this error:

SCRIPT5045: Assignment to read-only properties is not allowed in strict mode
index.js (1075,1)

As a workaround I can remove 'use strict' and then the error disappears. I have AngularJS 1.7 with browserify.

貢獻者指南