mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Fix findAllIndexes
This commit is contained in:
parent
1119c6c9e5
commit
54d883e64b
@ -8,7 +8,7 @@ if (!Array.prototype.findAsync) {
|
||||
}
|
||||
if (!Array.prototype.findAllIndexes) {
|
||||
Array.prototype.findAllIndexes = function (Callback) {
|
||||
this.reduce(function(a, e, i) {
|
||||
return this.reduce(function(a, e, i) {
|
||||
if (Callback(e))
|
||||
a.push(i)
|
||||
return a
|
||||
|
Loading…
Reference in New Issue
Block a user