khan4019/front-end-Interview-Questions

`toInsert` is never defined

jacksonkr opened this issue · 2 comments

line 182 on sort.html

In regards to insertionSort
toInsert is never defined, where is this value coming from?

Looks like it should be el

Leaving this open so you can apply the fix (tested on jsfiddle)

http://jsfiddle.net/kcfqx6hu/