Permalink
Browse files

Perlito5 - js - add TODO for delete() special case

  • Loading branch information...
1 parent a96fa40 commit 09cc8db699f9f71e94fdddb8f739f9654911db2b @fglock committed Oct 29, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 TODO-perlito5
View
9 TODO-perlito5
@@ -162,6 +162,15 @@ TODO list for Perlito5
* Javascript backend
+-- delete() in the middle of an array turns exists() off:
+
+ $ perl -e ' @a = (3..7); delete $a[2]; print "exists ", (exists $a[$_] ? 1 : 0), "\n" for 0 .. $#a '
+ exists 1
+ exists 1
+ exists 0
+ exists 1
+ exists 1
+
-- "or" has SCALAR context (Abigail++):
See: t5/01-perlito/23-eval.t

0 comments on commit 09cc8db

Please sign in to comment.