Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

What type to use in script ? let or var

Topic Labels: Automations
258 1
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi there, I’m new to automatisation and coding, I checked online what was the difference between let and var and I wanted to know if there was a preference on using either one.

Thanks

1 Reply 1

If you are new to scripting the difference might be too subtle for you to understand until you gain a bit more experience. If you are just starting to learn JavaScript, I recommend using let to start, but if you find code that uses var that you want to borrow, don’t let that stop you.