Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要制作一个 Uinte8Array。我正在使用 CloudPebble,它说 Uint8Array 没有定义。
如何在 CloudPebble 中声明此对象?
CloudPebble 在说谎,你可以使用它。我会提交一份报告来修复它,所以它不会骗你。
如果你愿意,你可以像这样包装错误的行,这样 jshint 就不会抱怨了。
/* jshint ignore:start */ var byteArray = new Uint8Array(buf); /* jshint ignore:end */