Go for the cloud, Javascript for the GUI. ReactJs for the framework. Note this stack is aiming to use the language most suitable for the target - ie the native language for that use-case. With as few extra bits or pieces as possible.

So, I’ve learnt Go and I have been using js and Reactjs for a month now, time to make some notes on Javascript.

Object cloning with the spread syntax:

let objClone = {...obj};

Or to clone it, but alter just one field, eg adding 1 to the count field.

let objClone = {...obj, count: obj.count+1 };

Rest syntax for multiple arguments as an arrays

function sum(...theArgs) {
  return theArgs.reduce((prev, curr) => {
      return prev+curr;
    })
}
console.log(sum(1,2,3));