Skip to content

Commit

Permalink
Perlito5 - js - assign to 0var
Browse files Browse the repository at this point in the history
  • Loading branch information
fglock committed Jul 5, 2015
1 parent 593e6ba commit 549d3ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TODO-perlito5
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,6 @@ TODO list for Perlito5
-- lvalue pos($str)
-- pos($str)
-- lvalue chomp(), chop()
-- lvalue $#a
-- lvalue subroutine

-- bug: variable aliases create copies instead
Expand Down Expand Up @@ -477,6 +476,8 @@ TODO list for Perlito5

* Javascript - implemented but missing more tests

-- lvalue $#a

-- local
add tests: exiting a block with 'last' doesn't retrieve previous 'local' values:
$ nodejs perlito5.js -Isrc5/lib -I. -It -e ' $_ = "abc"; /(b)/; print "$1\n"; { print "$1\n"; /(c)/; print "$1\n"; last; } print "$1\n"; '
Expand Down

0 comments on commit 549d3ac

Please sign in to comment.