You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a lambda is sync and safe and only dependent on constants and has no side effects and is pure then we should be able to replace it with a constant?
Regarding "is pure" we can check this ourselves with babel if we want - essentially we need to ensure it contains no variable references outside its own scope (including references to this!)
The text was updated successfully, but these errors were encountered:
If a lambda is sync and safe and only dependent on constants and has no side effects and is pure then we should be able to replace it with a constant?
Regarding "is pure" we can check this ourselves with babel if we want - essentially we need to ensure it contains no variable references outside its own scope (including references to
this
!)The text was updated successfully, but these errors were encountered: