Optimization of last element selection
Optimization of last element selection

arr[arr.lenght - 1] ==> arr.slice(-1)[0]

sourtin/gitgraph.js,calvinatintel/gitgraph.js,fabienfeat/gitgraph.js,nicoespeon/gitgraph.js,nicoespeon/gitgraph.js,terhechte/gitgraph.js,nicoespeon/gitgraph.js,prrmichel/gitgraph.js,TattsGroup/gitgraph.js,fabienfeat/gitgraph.js,DMIT-DanG/gitgraph.js,ringlej/gitgraph.js,smoll/gitgraph.js,ringlej/gitgraph.js,sourtin/gitgraph.js,nicoespeon/gitgraph.js,terhechte/gitgraph.js,smoll/gitgraph.js