You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910
  1. export function cloneNode(n) {
  2. // $FlowIgnore
  3. var newObj = {};
  4. for (var k in n) {
  5. newObj[k] = n[k];
  6. }
  7. return newObj;
  8. }