Skip to content

My-Salesforce-Stories

  • Home
  • Apex
  • Lightning Web Component
  • Lightning Aura

My-Salesforce-Stories

  • Home
  • Apex
  • Lightning Web Component
  • Lightning Aura

Tagged: const

Variables var, let and const 0

Lightning Web Component

24 March 2024

JavaScript for LWC: Variables (var, let and const)

Variables are used to store the data. JavaScript is a dynamically typed language hence, type of variable decided at runtime. We can declare variables is JavaScript by three ways using var, let and const

  • JavaScript Promises in LWC
  • Build Custom Carousel in Lightning Aura Components
  • SOQL Queries in Apex
  • SOQL Functions with Examples
  • Navigation Service in Lightning Aura
  • Apex
  • Lightning Aura
  • Lightning Web Component
  • Uncategorised

apex Array arrow function aura Aura Components Autoboxing BestPRactices Bulkified DML Operation datatypes DML Best Practices dropdown format() Governor Limits HTML indexOf() javascript javascript arrow function Javascript Developer Lightning lightning aura Lightning Web Component lightning web components lwc LWC features Object OOPS parse picklist Promises Regex replace() salesforce salesforce.com salesforce developer SFDC shallowcopy shallow copy shorthand SOQL SOQL Functions SOQL query spread operator startsWith() String Triggers

My-Salesforce-Stories © 2025. All Rights Reserved.