mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +08:00
style: Fixed most styles (according to standardjs)
This commit is contained in:
@ -63,7 +63,7 @@ const FibonacciDpWithoutRecursion = (number) => {
|
||||
const table = []
|
||||
table.push(1)
|
||||
table.push(1)
|
||||
for (var i = 2; i < number; ++i) {
|
||||
for (let i = 2; i < number; ++i) {
|
||||
table.push(table[i - 1] + table[i - 2])
|
||||
}
|
||||
return table
|
||||
|
Reference in New Issue
Block a user