我按照Arangodbjs的默认示例进行操作,似乎在不支持Promises的浏览器中,这个示例会失败。我们如何解决这个问题?
db.query(queryString).then()
最佳答案
If you want to use promises in environments that don't provide the global Promise constructor, use a promise polyfill like
es6-promise
or inject a ES6-compatible promise implementation likebluebird
into the global scope.
关于javascript - 使用 then() 进行 Arangodbjs 查询在 IE11 上不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39662386/