Posted on :: 8 Words :: Tags: :: Source Code

See if you can find the unexpected behavior:

>> b = HashSet

b =

[]

>> b.add([3, 4])

ans =

     1

>> b.contains([3, 4])

ans =

     0