3 ms·
What are you talking about? What are you finding unnatural about the direction JS has gone in? class Guy { sayHello() { console.log('Hello.'
by ralusek 10y ago
What are you talking about?
What are you finding unnatural about the direction JS has gone in?
class Guy {
sayHello() {
console.log('Hello.');
}
}
const guy = new Guy();
guy.sayHello();
Or for practical code:
Get IDs of users named Mike
db.users.fetch({firstName: 'Mike'}, {limit: 10})
.then(users => users.map(user => user.id));
The language is so popular to shit on, with absolutely no basis.