r/shittyprogramming • • Mar 10 '23

Javascript is hard sometimes

Post image
512 Upvotes

64 comments sorted by

View all comments

Show parent comment

3

u/80386 Mar 10 '23

Modern Java supports the 'var' keyword which does what you describe.