var getsUerRole=function (name,role) { switch (role) { case "admin": return`${name} is the admin and have full access of org`;
break; case "sub-admin": return`${name} is the sub-admin and have full access of org`;
case "testprep": return`${name} is the ${role} and have acess to create and delete the course`;
case "user": return`${name} is the ${user} and have access to consume the content`;
default: return`${name} is partial user and havent yet completed the process`;
} } var getUserRole= getsUerRole("akshay","testprep"); console.log(getUserRole); console.log(getsUerRole("praju","admin")); my code with little bit of invention
ctrl+C for copy ctrl + V for paste shift + slash (/) for comment in any language. ctrl + shift + left or right arrow to select texts. ctrl + D for delete ctrl + A for select All text. ctrl + X for cut the text and ctrl + V paste. window + tab for changing the window instent. these are the basic shortcut you will use most while programming.
Woow amazing, as per assignment the break statement are not require, as function returns at break statement and not go further. I am getting a great experience with you sir..😄
4:17 I think you can make a variable and put the text then you put break and then return this variable like this : function getUserRole (name , role ) { switch(role) { let text case "one" : text = ```````` ; break ; case "two" : // samething // and then return text ;
A small difference between a function and a function variable is that we can call function before declaring it but in case of variable function we have to declare the variable and assign a function to it before calling it. A Bonus for the one who will read this comment
Hello Sir, I always watch your all video. Your teaching method is easy and interesting. Can you please make a video on "WordPress" theme and plugin development.
Sir please give suggestions for ug joining students 2020 who are interested in programming.And please tell us basics which we should know before joining college.
Hey Hitesh one question I had while this lecture i.e. after return where that value gets stored intermediately like in cache or elsewhere. Till we store it in function variable. Somewwhere that value might have been saved calling upon that function.
Hope you are learning a lot, for more visit courses.learncodeonline.in/learn
var getsUerRole=function (name,role)
{
switch (role) {
case "admin":
return`${name} is the admin and have full access of org`;
break;
case "sub-admin":
return`${name} is the sub-admin and have full access of org`;
case "testprep":
return`${name} is the ${role} and have acess to create and delete the course`;
case "user":
return`${name} is the ${user} and have access to consume the content`;
default:
return`${name} is partial user and havent yet completed the process`;
}
}
var getUserRole= getsUerRole("akshay","testprep");
console.log(getUserRole);
console.log(getsUerRole("praju","admin"));
my code with little bit of invention
Your videos have literally changed my understanding of programming and learning. Thank you for all your work.
Thanks
Yes plz make video on shortcut key for copy pasting the code
ctrl+C for copy
ctrl + V for paste
shift + slash (/) for comment in any language.
ctrl + shift + left or right arrow to select texts.
ctrl + D for delete
ctrl + A for select All text.
ctrl + X for cut the text and ctrl + V paste.
window + tab for changing the window instent.
these are the basic shortcut you will use most while programming.
sir thankyou for opening our mind
and teaching a soft process of learning Javascript
Yes Sir, please make a video on VS code shortcuts
you are the best teacher for javascript .
Awesome series, I am loving it day by day. Best teacher in the world
Btw, I am enjoying this JS series. It's pretty easy and simple. As you said earlier that with no ground-breaking stuffs! 😊 Thank you Hitesh ❤
Woow amazing, as per assignment the break statement are not require, as function returns at break statement and not go further.
I am getting a great experience with you sir..😄
Thank you for everything ❤️
Make video about keyboard shortcuts
Works fine without break; , also yes we want VS Code shortcuts video 👍
Yes we want a video on shortcuts as well as the custom theme you have set!!!
Enjoying the videos. Byt can't wait for the projects.
make a video on shortcut keys for vs code
Loving your tutorials!
Please make a keyboard shortcuts video also
Yes plz make video on shortcut key for copy pasting the code
And also extension of the VS code you use most for various language
awesome video, can we have a video on how you costumized your vs code with exact colors?
You are such a good teacher, thank you! :D
Can you make a video on shortcut keys in vscode
Sir i'm enjoying this playlist very much .
Thanks for amazing content this is very helpful for me
4:17 I think you can make a variable and put the text then you put break and then return this variable like this :
function getUserRole (name , role ) {
switch(role) {
let text
case "one" :
text = ```````` ;
break ;
case "two" :
// samething
// and then
return text ;
Please make a video on keyboard shortcuts
having functions as variables can be very nifty, thanks
Yes bro please make a video on shortcuts in vs code
VS Code shortcuts videdo will me an amazing choice. Will be eagerly waiting for it.
Thanks hitesh for making such awesome videos and second please make a video on keyboard shortcuts video
❤
Please make a video on "how to make your VS code look interactive through using different amazing themes" 😃
Yes, we will love to see a video on VS Code short cuts :)
A small difference between a function and a function variable is that we can call function before declaring it but in
case of variable function we have to declare the variable and assign a function to it before calling it.
A Bonus for the one who will read this comment
Thankyou for this comment. I was going through comments to find a solution to this issue :)
@@Shanakam 👍
Please make a video on VS code shortcuts and would love to know how you created VS code theme which you are using.
Hello Sir, I always watch your all video. Your teaching method is easy and interesting. Can you please make a video on "WordPress" theme and plugin development.
Yes sir..looking for video on keyboard shortcuts for VS code too
please make keyboard shortcuts video on vscode .... it will increase the productivity
Pls make a keyboard shortcut video it's really helpful when we do work in production
Sir please give suggestions for ug joining students 2020 who are interested in programming.And please tell us basics which we should know before joining college.
Hey Hitesh one question I had while this lecture i.e. after return where that value gets stored intermediately like in cache or elsewhere. Till we store it in function variable. Somewwhere that value might have been saved calling upon that function.
is there any keyboard shortcuts video on vsCode (windows btw).
Thank you sir for amazing video
Nice Explain
Thank u so much sir
Since we are using return keyword break keyword is of no use so if we remove break keyword from here ,there will be no effect
yes video for a keyboard shortcut
Nice tutorials
Please make the shortcut key used for copy paste in VS code
Sir kindly tell how to integerate finger print scanner with js or php
yes please, keyboard shortcut and extensions video.
Amazing, Love it!.. VS code shortcut would be best if you will teach. Thanks in advance :)
What viscose extension do you use for code completion
yes please make a video on shortcuts
is it required to use semicolon near return i need some clarity on it hen it is required when it is not??
Please make a video about VScode shortcuts Sir..
Which extension do you use that suggests snippets of code?
Yes sir please make a video on vs code Shortcuts
awesome .........sir g
Cannot we use the IF-ELSE STATMENT for this?????
Yes make video on vs code shortcut
Yes sir make vscode shortcuts video
Keep going 👍
Why don't you make a video on vs code extensions, themes, fonts that you use
Please...Make Video on VS code Shortcuts...ASAP
Thank you sir...
please do make a keyboard shortcut video on vscode
Hi Hitesh pls make a video on shortcut keys for vs code
pls make a video on vs code short cuts
Yeah pls make a video on VS Code Shortcuts
Nice video thnx
Shortcut key video would be great sir.
Sir please make a video on VS code keyboard shortcuts
Sir how to set up the terminal is VS code ?
Some reason the ${name} does not work in my Javascript. Other than that everything else is flawless. Thank you.
Thanks eng
make a video on VS code shortcuts
how can i import one function of one java script to another
Thank you sir
make a video for short cut codding
From where can i get all these codes??
make a video on shortcut key of vscode
Please make VS code shortcuts video
how to configure vs code as urs
Sir Theme?😊
Its Bear I think
he is using a custom theme he said that he'll make it as a extension soon
Thank u☺
Shortcut key video of VS code sir...plz
keyboard shortcut video please
Please update your React Native course @lcoteam!!
keyboard shortcuts on vs code
Thankyou bhaiyaaa
we Want VsCode shortCut keys specfic video.
Sir, Plz make Video visual studio code shortcut key
#10minutesJS day 15!
I already know all the shortcuts hehe
plz make video shortcut
3:00 i sent you request
${name} is not working in js
Extensions,Shortcuts,Themes
working without break too
Shortcuts video ✋
First.
yeh Sammy kaun hai pata lagao Daya😂
Do not make a separate video of shortcuts, you could always tell them in the video instead! XD
First
Second