8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f791d6 commit 2d479e6Copy full SHA for 2d479e6
dist/immutable.es.js
@@ -1868,7 +1868,9 @@ function coerceKeyPath(keyPath) {
1868
1869
function isPlainObj(value) {
1870
return (
1871
- value && (value.constructor === Object || value.constructor === undefined)
+ value &&
1872
+ ((value.constructor && value.constructor.name === 'Object') ||
1873
+ value.constructor === undefined)
1874
);
1875
}
1876
dist/immutable.js
@@ -1874,7 +1874,9 @@
1877
1878
1879
1880
1881
1882
0 commit comments