Updated docs

This commit is contained in:
neauoire
2020-03-29 12:43:46 +09:00
parent 42e894ef38
commit ecd6c46f40
3 changed files with 31 additions and 2 deletions

View File

@@ -416,7 +416,7 @@ function Library (client) {
this.each = (arr, fn) => { // Run a function for each element in a list.
for (let i = 0; i < arr.length; i++) {
const arg = arr[i]
fn(arg)
fn(arg,i)
}
}