hyperstack icon indicating copy to clipboard operation
hyperstack copied to clipboard

return native strings instead of String Objects from attributes

Open catmando opened this issue 5 years ago • 0 comments

Not completely sure why this is happening, but at the JS level column values that are of type text or string, get turned into JS String objects (i.e. new String(s)) This is transparent through the Opal system, but when passing such values to JS methods sometimes this causes confusion especially if the method is explicitily checking for typeof x === string

catmando avatar Jun 19 '20 17:06 catmando