DEV Community

Discussion on: Assignment has a return value in JS

Collapse
arpple profile image
Arpple

I think it's for REPL, so it will show the final result for assignment as well

> a = 1 + 2
3
Enter fullscreen mode Exit fullscreen mode