liusuyi
2024-08-08 57c673aa3e83677bcf5d30b4b45d06bae6609db8
1
2
3
4
5
6
7
8
9
10
export function cloneNode(n) {
  // $FlowIgnore
  var newObj = {};
 
  for (var k in n) {
    newObj[k] = n[k];
  }
 
  return newObj;
}