diff options
| author | Baitinq <[email protected]> | 2025-01-16 22:27:29 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-01-16 22:27:29 +0100 |
| commit | 90b3c16a3d529e04ca58a69f4fa034a3b076d9bd (patch) | |
| tree | f299c2c779758029daa2d519ffce079c767d38c8 /examples | |
| parent | Get function calls kind of working :) (diff) | |
| download | pry-lang-90b3c16a3d529e04ca58a69f4fa034a3b076d9bd.tar.gz pry-lang-90b3c16a3d529e04ca58a69f4fa034a3b076d9bd.tar.bz2 pry-lang-90b3c16a3d529e04ca58a69f4fa034a3b076d9bd.zip | |
Evaluator: variables as values
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/4.src | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/4.src b/examples/4.src index 6e639a8..0dd81ae 100644 --- a/examples/4.src +++ b/examples/4.src @@ -1,11 +1,11 @@ let print_one = () => { print(1); - return 0; + return 4; }; let main = () => { - let y = print_one(); + let y = print_one() + 2; print(y); |