| @@ -3,12 +3,16 @@ | ||
| 3 | 3 | var extend = function ( out ) { |
| 4 | 4 | out = out || {}; |
| 5 | 5 | |
| 6 | 6 | for ( var i = 1; i < arguments.length; i++ ) { |
| 7 | - if ( ! arguments[ i ] ) continue; | |
| 7 | + if ( ! arguments[ i ] ) { | |
| 8 | + continue; | |
| 9 | + } | |
| 8 | 10 | |
| 9 | 11 | for ( var key in arguments[ i ] ) { |
| 10 | - if ( arguments[ i ].hasOwnProperty( key ) ) out[ key ] = arguments[ i ][ key ]; | |
| 12 | + if ( Object.hasOwn( arguments[ i ], key ) ) { | |
| 13 | + out[ key ] = arguments[ i ][ key ]; | |
| 14 | + } | |
| 11 | 15 | } |
| 12 | 16 | } |
| 13 | 17 | |
| 14 | 18 | return out; |