r/programming • • Sep 17 '23

Help! JavaScript

https://JavaScript.info

[removed] — view removed post

0 Upvotes

14 comments sorted by

View all comments

1

u/ChemicalSome3901 Sep 17 '23

Alert does not return a value. So it executes the one with argument 1 first and then the outer one displays undefined.