2 ms·
It’s using object shorthand. Rather than: {foo: foo, bar: function(){}} You can just do: {foo, bar(){}}
by abritinthebay 9y ago
It’s using object shorthand.
Rather than:
{foo: foo, bar: function(){}}
You can just do:
{foo, bar(){}}
2 ms·