I printed out a Javascript variable to the console log (Firefox) and it gives this:
POLYGON ((138.5007 -34.82787,138.51838 -34.82787,138.51838 -35.01713,138.5007 -35.01713,138.5007 -34.82787))
If I check the type with typeof it gives object.
How can I recreate this object? Normally objects have curly braces, so how do I create this?