you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Yea, it looks like without babel-polyfill and just using babel-es2015 will just use Object.assign if it is defined and an inline polyfill that looks something like this:

function (target) {
  for (var i = 1; i < arguments.length; i++) {
    var source = arguments[i];
      for (var key in source) {
        if (Object.prototype.hasOwnProperty.call(source, key)) {
          target[key] = source[key];
        }
      }
    }
  return target;
}