Open in app
Home
Notifications
Lists
Stories

Write
Adnankabir
Adnankabir

Home

Nov 3, 2020

Tricky Javascript

1. Check the datatype of your variable : — You can use typeof( ) function to check the datatype of your variable. Example : let x =10; let name = “Niloy” console.log(typeof(x)); // Output : number console.log(typeof(name)); // Output : string 2. Use of try catch: It has mainly two blocks. One is try {…} and other one is catch{….}. …

3 min read


Nov 2, 2020

Things you need to know as a Javascript Developer.

1. Variable : In Javascript, variable can be declared with 3 keywords : var, let, const. There are also some naming convention of variables. 1. Camel Case : firstName, lastName, userName 2. Pascal Case : FirstName, LastName, UserName 3. Snake Case : first_name, last_name, user_name 4. Kebab Case : first-name, last-name, user-name 2. Difference between “==” and “===” : “==”…

2 min read

Adnankabir

Adnankabir

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable