We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcbec63 commit f0447e8Copy full SHA for f0447e8
doc/Language/js-nutshell.pod6
@@ -342,7 +342,7 @@ say +^1; # OUTPUT: -2
342
343
=head3 Checking for definedness
344
345
-Javascript includes a nullish coalescing operator, C<||>, which progresses
+Javascript includes a nullish coalescing operator, C<??>, which progresses
346
only if null or undefined:
347
348
=for code :lang<javascript>
@@ -352,8 +352,8 @@ undefined ?? null ?? 0 ?? 1 ; // => 0
352
This is very similar to Raku L<C<//>|/routine/$SOLIDUS$SOLIDUS> operator:
353
354
=for code
355
-(Any) || Nil || 0 || 1 ; # => 1
356
-(Any) // Nil // 0 // 1 ; # => 0
+Any || Nil || 0 || 1 ; # => 1
+Any // Nil // 0 // 1 ; # => 0
357
358
=head3 Custom operators and operator overloading
359
0 commit comments