DEV Community

Abdullah Al Numan profile picture

Abdullah Al Numan

Open source enthusiast and Front-end / Full-stack Developer with passion for React and Ruby on Rails

Joined Joined on  github website twitter website
In JavaScript, what's the difference between a variable that is: null, undefined and undeclared?

In JavaScript, what's the difference between a variable that is: null, undefined and undeclared?

28
Comments 1
2 min read

Want to connect with Abdullah Al Numan?

Create an account to connect with Abdullah Al Numan. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Explain why the following doesn't work as an IIFE: "function foo(){ }();". What needs to be changed to properly make it an IIFE?

Explain why the following doesn't work as an IIFE: "function foo(){ }();". What needs to be changed to properly make it an IIFE?

8
Comments 9
2 min read
Interview Question: Explain how `this` works in JavaScript [in 3 mins].

Interview Question: Explain how `this` works in JavaScript [in 3 mins].

8
Comments 1
3 min read
What is NaN in JavaScript? What is its type? How can you reliably test if a value is equal to NaN?

What is NaN in JavaScript? What is its type? How can you reliably test if a value is equal to NaN?

3
Comments 3
2 min read
What is the significance, and what are the benefits, of including 'use strict' at the beginning of a JavaScript source file?

What is the significance, and what are the benefits, of including 'use strict' at the beginning of a JavaScript source file?

10
Comments 2
2 min read
What is the significance of, and reason for, wrapping the entire content of a JavaScript source file in a function block?

What is the significance of, and reason for, wrapping the entire content of a JavaScript source file in a function block?

11
Comments 3
1 min read
Explain CSS sprites, and how you would implement them on a page or site.

Explain CSS sprites, and how you would implement them on a page or site.

2
Comments
3 min read
What's the difference between an inline and inline-block element in CSS?

What's the difference between an inline and inline-block element in CSS?

3
Comments 1
2 min read
What is the CSS display property and can you give a few examples of its use?

What is the CSS display property and can you give a few examples of its use?

2
Comments
3 min read
Describe floats in CSS and how they work.

Describe floats in CSS and how they work.

6
Comments 3
2 min read
What's the difference between a relative, fixed, absolute and statically positioned element?

What's the difference between a relative, fixed, absolute and statically positioned element?

4
Comments
2 min read
Describe z-index and how stacking context is formed.

Describe z-index and how stacking context is formed.

3
Comments
2 min read
What does * { box-sizing: border-box; } do? What are its advantages?

What does * { box-sizing: border-box; } do? What are its advantages?

10
Comments 1
1 min read
Explain your understanding of the Box Model and how you would implement different box models.

Explain your understanding of the Box Model and how you would implement different box models.

8
Comments
2 min read
What is CSS selector specificity and how does it work?

What is CSS selector specificity and how does it work?

10
Comments
3 min read
Describe Block Formatting Context and how it works.

Describe Block Formatting Context and how it works.

7
Comments 1
2 min read
What is Formatting Context in CSS? Describe a few types of Formatting Contexts.

What is Formatting Context in CSS? Describe a few types of Formatting Contexts.

3
Comments
2 min read
What is render-blocking?

What is render-blocking?

4
Comments
1 min read
Describe the difference between <script>, <script async> and <script defer>

Describe the difference between <script>, <script async> and <script defer>

10
Comments
1 min read
What is parser-blocking?

What is parser-blocking?

4
Comments
1 min read
What are some advantages of using semantic HTML?

What are some advantages of using semantic HTML?

6
Comments
1 min read
What is Semantic HTML?

What is Semantic HTML?

3
Comments
2 min read
loading...