Dictu
Dictu copied to clipboard
Shadowing builtins has a weird effect
Shadowing
Summary
var input = [];
print(input); // <native fn>
Here we would expect the variable to take precedence over the built-in function, although shadowing is bad either way, the principle of least surprise would be that the built-in is overwritten, however currently it is not.