I understand you might want some other behavior, for example that nothing happens. But why would you instantiate a new HtmlTable with no data (= creating a new empty table) and then call empty() on it? That doesn't make much sense or what am I missing?
On Monday, March 12, 2012 7:04:43 PM UTC+1, Neilime wrote: > > I try to run empty function on a new HtmlTable but it fails... > Just try : new HtmlTable().empty(); // => "rows[i] is undefined" > > I guess that's not a good behavior. >