'use strict';

function extend(to, from) {
  for (let prop in from) {
    if (from[prop]) {
      to[prop] = from[prop];
    }
  }
  return to;
}

export default extend;
@@ -8,16 +8,390 @@
 rict';%0A%0A
+/**%0A * Extends a given object with properties from another object.%0A * @param %7BObject%7D to - A given object to extend its properties.%0A * @param %7BObject%7D from - A given object to share its properties.%0A * @returns %7BObject%7D to%0A * @example%0A * var a = %7B%0A *   'foo': 'bar'%0A * %7D;%0A * var b = %7B%0A *   'bar': 'foo'%0A * %7D;%0A *%0A * extend(a, b);%0A *%0A * console.log(a.bar) // returns 'foo'%0A */%0A
 function
@@ -514,16 +514,34 @@
  to;%0A%7D%0A%0A
+// Exports extend%0A
 export d
@@ -554,8 +554,9 @@
  extend;
+%0A

Create extend module.