I'd like to store some internal Javascript object like Range but I haven't found a way to save it.

I'd like to store some internal Javascript object like Range but I haven't found a way to save it.

I'd like to store some internal Javascript object like Range but I haven't found a way to save it. What's the best way to save it ? I thought to serialize it but I haven't found anything on the net