let //like func in Godot
let age = 25 //Use it to declare what value something should hold but note that func is it's own syntax in JS
func

Hard Coding

let year = 2025
//In this example of what NOT to do we want a func that also declares the next year
let nextyear = 2026
// This would be fine for now... But what if we want this code to be accurate every year? Instead:
let next = year + 1
//now you don't need to refacter anything but year in 2026 and the rest of your functions will work as they're supposed to