Code Review
/
vnfsdk
/
refrepo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Bug:Fix file validation issue
[vnfsdk/refrepo.git]
/
vnfmarket
/
src
/
main
/
webapp
/
vnfmarket
/
node_modules
/
fs-extra
/
lib
/
util
/
assign.js
1
// simple mutable assign
2
function assign () {
3
var args = [].slice.call(arguments).filter(function (i) { return i })
4
var dest = args.shift()
5
args.forEach(function (src) {
6
Object.keys(src).forEach(function (key) {
7
dest[key] = src[key]
8
})
9
})
10
11
return dest
12
}
13
14
module.exports = assign