[Webkit-unassigned] [Bug 38664] Web Inspector: add a "table" method to console, to allow output of tabular data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 31 05:57:14 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38664





--- Comment #13 from Pavel Feldman <pfeldman at chromium.org>  2010-05-31 05:57:13 PST ---
Jumping in with a small comment: I rarely operate matrices (array2Ds). But I use arrays of objects a lot. Having a convenient way of dumping arrays of objects in a user-friendly manner would be handy. So I would expect console.table to be used for arrays of objects in 99% of cases. Hence, I would form an API as:

console.table(objectsArray, propertyName1, propertyName2, propertyName3, ...) or
console.table(objectsArray, [propertyName1, propertyName2, propertyName3)

providing no property names should dump all of the own properties (united by or, not by and).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list