mirror of
https://github.com/lancedikson/bowser
synced 2026-03-02 03:40:27 +00:00
Extended test cases and fixed bug
This commit is contained in:
@@ -271,7 +271,7 @@ export default class Utils {
|
||||
}
|
||||
for (i = 0, l = assigners.length; i < l; i += 1) {
|
||||
const assigner = assigners[i];
|
||||
if (typeof assigner === 'object') {
|
||||
if (typeof assigner === 'object' && assigner !== null) {
|
||||
const keys = Object.keys(assigner);
|
||||
keys.forEach((key) => {
|
||||
result[key] = assigner[key];
|
||||
|
||||
Reference in New Issue
Block a user