Khan/khan-exercises — comment on commit 2cb31e32ef65005b306193973af6efdb1fd7b624
File:  line 0
By igorT:

Draw is very simple, takes points and draws a path. The draw function should simply take all the points and draw a path.If you want for some reason to change how the triangle is drawn, you should change the points themselves so this midpoint stuff if needed should happen in some other place. This also breaks quadrilaterals, #5314, as they rely on this function as well.