Forum Discussion
Andrew35
9 months agoCommunity Member
Javascript for sending an email
Hi there Hope someone can help tell me what's wrong with my JS for sending an email with Text Entry data. For context I want the email to go to a specific address and it will contain the text entri...
- 9 months ago
Both let and var create new variables in JavaScript. The difference between the two is their scope.
- A variable declared by let is only available inside of the block in which it is defined
- A variable declared by var is available throughout the function in which it is defined, or globally if it's defined outside of a function
JoeFrancis
9 months agoCommunity Member
Both let and var create new variables in JavaScript. The difference between the two is their scope.
- A variable declared by let is only available inside of the block in which it is defined
- A variable declared by var is available throughout the function in which it is defined, or globally if it's defined outside of a function
Related Content
- 5 months ago