JS Tutorial 2: Variables and Data Types

JS Tutorial #2: Variables and Data Types Title: JS Tutorial #2: Variables and Data Types Content: Variables store data. In JS, you can use let, const, or var. let → variable that can change const → constant value var → older style Code snippet: let name = "Sunil"; const age = 30; console.log(name, age); Engagement: Create your own variables for your favorite hobby and print them in the console. Share your code snippet! #JavaScript #Coding #LearnJS #WebDevelopment #Cognothink

To view or add a comment, sign in

Explore content categories