Skip to content
Permalink
Browse files

Fixes #2672, it was the example that was wrong

  • Loading branch information...
JJ committed Mar 14, 2019
1 parent 627fa4e commit eb00a7425d2ed74fcc27ee4fbf66fb72d9bc89f6
Showing with 4 additions and 1 deletion.
  1. +4 −1 doc/Language/js-nutshell.pod6
@@ -210,10 +210,13 @@ say '1' === 1; # True
say {} === {}; # False
my \hash = {};
my %hash := hash;
my %hash = hash;
say hash === %hash; # False
=end code
In the last case it's the same object, but containers are different, which is
why it returns False.
The inverse of C<===> is C<!==>.
This is where Perl 6's other equality operators are useful. If the values have

0 comments on commit eb00a74

Please sign in to comment.
You can’t perform that action at this time.