Details
-
Improvement
-
Status: Closed
-
Minor - P4
-
Resolution: Duplicate
-
None
-
None
-
Server Tooling & Methods
-
2
Description
In the shell, doing:
tojson(new Set([1,2,3]))
|
Just prints out a misleading "{ }". tojson should either explicitly throw an error or print out the elements.
Attachments
Issue Links
- duplicates
-
SERVER-69961 Assign expected / actual for assert.setEq javascript function
-
- Closed
-
- is duplicated by
-
SERVER-40107 assert.eq always returns true for javascript Set objects
-
- Closed
-
- related to
-
SERVER-50614 JS 'Set' type does not serialize well to BSON
-
- Backlog
-