store.js icon indicating copy to clipboard operation
store.js copied to clipboard

Can't set a method in any object

Open Mattwmaster58 opened this issue 8 years ago • 0 comments

For example: store.set("ex", {foo:"bar", bar: function(){console.log("foo")}}) "ex" is set to {"foo":"bar"} instead of {foo:"bar", bar: function(){console.log("foo")}}`

PS ECMAScript 2015 shorthand syntax isn't supported either.

Mattwmaster58 avatar Oct 06 '17 18:10 Mattwmaster58