The description states:
References to variables not found in the argument list should result in an error when the function is defined.
So fn add x y => x z is an error, even if z is defined in the global scope.
fn add x y => x z
z
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
The description states:
So
fn add x y => x z
is an error, even ifz
is defined in the global scope.This comment is hidden because it contains spoiler information about the solution