I have code:
let a = {a: 'a', b: 'b'};
let b = {c: 'c', d: 'd'};
let c = {...a, ...b};
In chrome/firefox/... its display: c = {a: 'a', b: 'b', c: 'c', d: 'd'}
, but in microsoft edge it throw error Expected identifier, string or number
.
I try to use cdn.polyfill.io
and https://babeljs.io/docs/en/babel-polyfill
but no luck.
What i can do to run my webpack code in microsoft edge?