Skip to content

Commit

Permalink
discussion on variables
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshchoudhary committed Dec 26, 2022
1 parent ae37d1b commit 3400161
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
],
"settings": {
"editor.fontSize": 32,
"terminal.integrated.fontSize": 24
"terminal.integrated.fontSize": 24,
"editor.wordWrap": "on"
}

}
Expand Down
22 changes: 22 additions & 0 deletions 01_basics/01_variables.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const accountId = 144553
let accountEmail = "[email protected]"
var accountPassword = "12345"
accountCity = "Jaipur"
let accountState;

This comment has been minimized.

Copy link
@prithvirajnikam

prithvirajnikam Apr 24, 2024

thank you sir

This comment has been minimized.

Copy link
@ankityadavkumar

ankityadavkumar Aug 29, 2024

best forever series sir ji

This comment has been minimized.

Copy link
@learnwithabhi45

This comment has been minimized.

Copy link
@Mohit-chechi

Mohit-chechi Nov 15, 2024

thanks sir , very helpful


// accountId = 2 // not allowed


accountEmail = "[email protected]"
accountPassword = "21212121"
accountCity = "Bengaluru"

console.log(accountId);

/*
Prefer not to use var
because of issue in block scope and functional scope
*/


console.table([accountId, accountEmail, accountPassword, accountCity, accountState])

8 comments on commit 3400161

@pashupatitv
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very useful for beginner

@Kaashish1111
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot sir.

@techwithgaurav
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very use full sir

@Vedi5246
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank u sir for such a wonderful explanation

@ahmxd007
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how cani take these

@abhidana
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am new here i dont know how to use it

@delete-tech
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just first time open github started looking history @hiteshchoudhary

@Shashank80000
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thankyou sir

Please sign in to comment.