rtfeldman / seamless-immutable

Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects.
BSD 3-Clause "New" or "Revised" License
5.37k stars 195 forks source link

TypeError: Object(...) is not a function #270

Open stepup99 opened 5 years ago

stepup99 commented 5 years ago
let x = Immutable({name:"mack",age:23});
console.log(x)

i m running this simple line of code on my browser , but it giving me TypeError: Object(...) is not a function in seamless immutable... any idea why

ivportilla commented 5 years ago

How are you importing Immutable? This could be related to it.