DEV Community

Discussion on: Data Structures and algorithims in Javascript

Collapse
 
zerodragon profile image
Zero Dragon • Edited

are you using an specific library for this? or what version of node is this? for example your example of tuple is not working, for when you use that syntaxis is actaully using the comma operator to output right result, also set in javascript is not defined, you must use new Set and use a list to achieve the same result you are expecting

dev-to-uploads.s3.amazonaws.com/up...