Browse Source

several let's changed to consts

Rawr 5 years ago
parent
commit
f73739cc6b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/polyfills.js

+ 3 - 3
src/polyfills.js

@@ -65,15 +65,15 @@ if ( Object.assign === undefined ) {
 
 		}
 
-		let output = Object( target );
+		const output = Object( target );
 
 		for ( let index = 1; index < arguments.length; index ++ ) {
 
-			let source = arguments[ index ];
+			const source = arguments[ index ];
 
 			if ( source !== undefined && source !== null ) {
 
-				for ( let nextKey in source ) {
+				for ( const nextKey in source ) {
 
 					if ( Object.prototype.hasOwnProperty.call( source, nextKey ) ) {