Skip to content

cruncher/object.assign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Object.assign

Polyfill for Object.assign(target, source1, source2, ...).

var source = { a: 1 };
var target = { b: 2 };

Object.assign(target, source);   // { a: 1, b: 2 }

Does not overwrite native version of Object.assign where it already exists.

About

Polyfill for Object.assign

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
  翻译: