Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jayrhynas
on June 14, 2018
|
parent
|
context
|
favorite
| on:
Console.table()
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
console.log({ a: a, b: b })
and then the console just prints out the new object.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: