通常,我只是将其转换为箭头函数或绑定此函数来解决问题,但是,如果我将此特定函数转换为箭头函数,则不会获得所需的结果(这是一个图像映射响应,将用作openlayers 6中的一个层)。我怀疑这是因为回调函数中的this.response部分代码。 const blob = new Blob([arrayBufferView], { typ
我可以使用new(下面的第2行)创建对象,但使用call不起作用。有人能解释一下原因是什么吗?function ObjConstructor(){ this.sample = 1};
undefined //output that came on console, this is not a command
ObjConstructor