Skip to content

Commit 19bf96b

Browse files
committed
Allow "WHAT" to appear in this example
Closer to the JS code that ^name would be.
1 parent bcc1d77 commit 19bf96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Language/js-nutshell.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ property on Node.js objects in Perl 6 is the C<WHAT> attribute:
263263
console.log('foo'.constructor); // OUTPUT: String
264264
=end code
265265
266-
=begin code
266+
=begin code :ok-test<WHAT>
267267
say 'foo'.WHAT; # OUTPUT: Str
268268
=end code
269269

0 commit comments

Comments
 (0)