Open adrianoleiterodrigues opened 1 year ago
Why do not use typeof value instead value.constructor on set function to accept multidimensional array?
typeof value
value.constructor
Change:
if (value && value.constructor === Object) { value = JSON.stringify(value); }
To:
if (value && typeof value === 'object') { value = JSON.stringify(value); }
Why do not use
typeof value
insteadvalue.constructor
on set function to accept multidimensional array?Change:
To: