I'm trying to empty an array containing my drawn coordinates when a button "clear" is pressed.
When I call
, I get an error that it is not a function.
is certainly an array, and I have Firebug
s printing things out. It's hosted here