You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(set) where set is a Set object renders as Set { }, even if set is nonempty. Clicking on that Set object shows the methods on Set, but still doesn't show the values (I guess because they're not enumerable properties). By contrast, Arrays render as Array [ item ] or (number) [ items ] (and can be further expanded).
Regarding src/console/Log.ts:
console.log(set)
whereset
is aSet
object renders asSet { }
, even ifset
is nonempty. Clicking on thatSet
object shows the methods onSet
, but still doesn't show the values (I guess because they're not enumerable properties). By contrast,Array
s render asArray [ item ]
or(number) [ items ]
(and can be further expanded).You can see this in action on the SolidJS Playground (where I originally reported as solidjs/solid-playground#114): https://playground.solidjs.com/?hash=-1802735031&version=1.4.1
Would it be reasonable to add special-case support for
Set
and maybeMap
like there is forArray
, which shows the items via their iteration interface?The text was updated successfully, but these errors were encountered: