One of my favorite things in newish JS is that instead of saying
let status = 'bar';
let foo = {
status: status
};
you can do
let status = 'bar';
let foo = {
status
};
It makes the code a lot cleaner when you're mapping and doing data transforms on enormous objects