3 var keys = require('../keys')
4 , value = require('../valid-value')
8 module.exports = function (dest, src/*, …srcn*/) {
9 var error, i, l = max(arguments.length, 2), assign;
10 dest = Object(value(dest));
11 assign = function (key) {
12 try { dest[key] = src[key]; } catch (e) {
13 if (!error) error = e;
16 for (i = 1; i < l; ++i) {
18 keys(src).forEach(assign);
20 if (error !== undefined) throw error;