Bhargava Ch
What is the difference between let and var?
By Bhargava Ch in SharePoint on Nov 29 2019
  • Vinay Ayinapurapu
    Aug, 2020 1

    ‘Let’ is the keyword which can be used in specific to scope. It will not mutate global variables. Let is the recommended way.
    ‘Var’ key word is also used to define the value of property but this is accessbile globally thoroughout the script. Use var if you are sure that this global variables are no where interacting with local variables.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS