mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +01:00
Remove unnescesary function name for ArrayExtensions
This commit is contained in:
parent
58d55cefe6
commit
6ad145ba0e
@ -1,5 +1,5 @@
|
|||||||
if (!Array.prototype.findAsync) {
|
if (!Array.prototype.findAsync) {
|
||||||
Array.prototype.findAsync = async function findAsync(asyncCallback) {
|
Array.prototype.findAsync = async function (asyncCallback) {
|
||||||
for (const item of this) {
|
for (const item of this) {
|
||||||
if (await asyncCallback(item)) {
|
if (await asyncCallback(item)) {
|
||||||
return item
|
return item
|
||||||
|
Loading…
Reference in New Issue
Block a user