提交 83dd5f89 编写于 作者: R Rawr

replaced var with let

上级 3bff4937
......@@ -65,15 +65,15 @@ if ( Object.assign === undefined ) {
}
var output = Object( target );
let output = Object( target );
for ( var index = 1; index < arguments.length; index ++ ) {
for ( let index = 1; index < arguments.length; index ++ ) {
var source = arguments[ index ];
let source = arguments[ index ];
if ( source !== undefined && source !== null ) {
for ( var nextKey in source ) {
for ( let nextKey in source ) {
if ( Object.prototype.hasOwnProperty.call( source, nextKey ) ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册