Re:Console.table()
by jayrhynas on Thursday June 14, 2018 @09:06AM
(#17311334)
That's due to a shorthand added in ES2015 that lets you construct an object where keys are equal to the name of the variable. So that's short for
and then the console just prints out the new object.
[ Parent
| on HN ]
There are no comments on this comment yet.