1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

Changed bad code

This commit is contained in:
Oliver Foster 2019-12-19 10:05:29 +00:00 committed by GitHub
parent f5a908584c
commit 066f665aac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,7 +261,7 @@ export default class Utils {
let k; let k;
for (i = 1, l = arguments.length; i < l; i++) { for (i = 1, l = arguments.length; i < l; i++) {
const assigner = arguments[i]; const assigner = arguments[i];
if (!(typeof assigner === "object")) continue; if (typeof assigner !== "object") continue;
for (k in assigner) { for (k in assigner) {
obj[k] = assigner[k] obj[k] = assigner[k]
} }