Aug 8, 2017 · 1 min read
Shouldn’t:
tail: ‘long, skinny’, describe () {…
be:
tail: ‘long, skinny’, describe: function() {
or at least:
tail: ‘long, skinny’, describe: () =>{…}
Especially when you mentioned describe won’t work in ES5.
PS: I could be terribly missing the context, but I guess I am someone who always tries to make things appear consistent in object definition.
