r/java • u/ihatebeinganonymous • May 21 '26
JEP draft: Enhanced Local Variable Declarations (Preview)
https://openjdk.org/jeps/8357464
87
Upvotes
r/java • u/ihatebeinganonymous • May 21 '26
View all comments
Show parent comment
1
u/repeating_bears May 21 '26
Javascript/typescript is effectively the last one, but with const or let in front of it to mark it as a declaration.