Shubham Vora has Published 957 Articles

What are the best practices to be followed while using JavaScript?

Shubham Vora

Shubham Vora

Updated on 15-Nov-2022 10:50:56

202 Views

In this tutorial, we will learn the best practices to follow while using JavaScript. JavaScript is used in almost every website to make it more user interactive. Throughout the years, ECMAScript has released different versions of JavaScript. Each version has enhanced functionalities and new features, so it is important to ... Read More

What are Complex Data types in JavaScript?

Shubham Vora

Shubham Vora

Updated on 15-Nov-2022 10:46:59

2K+ Views

In this tutorial, we will learn complex data types in JavaScript. JavaScript has multiple built-in data types to store data in different formats. The data types of JavaScript can be divided into two groups, and those are primitive data types and non-primitive data types. Number, String, Boolean, Undefined and Null ... Read More

What are JavaScript Native Objects?

Shubham Vora

Shubham Vora

Updated on 15-Nov-2022 10:44:56

4K+ Views

In this tutorial, we will learn about native objects in JavaScript. Native JavaScript objects are regular JavaScript objects offered by JavaScript itself. Inbuilt objects, pre-defined objects, and global objects are other names. No matter the computer or environment, all users have access to these objects, and they function similarly. They ... Read More

Understanding function scope and context in JavaScript?

Shubham Vora

Shubham Vora

Updated on 15-Nov-2022 10:41:11

322 Views

In this tutorial, let us discuss the function scope and context in JavaScript. Functions are the building blocks of Javascript. Therefore, JavaScript is a functional programming language. Scope The 'scope' is the code space where we can define and use a variable in a function. Scopes are of four types. ... Read More

Smart / self-overwriting / lazy getters in javaScript?

Shubham Vora

Shubham Vora

Updated on 15-Nov-2022 10:37:53

673 Views

In this tutorial, let us discuss the smart, self-overwriting, or lazy-getters in JavaScript. A getter binds the property of an object to a function, but the getter will not calculate the property value until we access it. The getter helps when we need to get some dynamic value without an ... Read More

Set whether the table border should be collapsed into a single border or not with JavaScript?

Shubham Vora

Shubham Vora

Updated on 15-Nov-2022 10:35:38

483 Views

In this tutorial, let us look at how to set whether the table border should collapse into a single table border or not with JavaScript. We can use the borderCollapse property in JavaScript to accomplish this. Let us look into this in brief. Using the Style borderCollapse Property The borderCollapse ... Read More

Set whether the flexible items should wrap or not with JavaScript?

Shubham Vora

Shubham Vora

Updated on 15-Nov-2022 10:33:40

171 Views

In this tutorial, let us look at the way to set whether the flexible items should wrap or not with JavaScript. We can use the flex-wrap property in JavaScript to set the item wrap value. Let us look into this in brief. Using the Style flex-wrap Property The flex-wrap property ... Read More

Set how the item will shrink relative to the rest with JavaScript?

Shubham Vora

Shubham Vora

Updated on 15-Nov-2022 10:30:43

296 Views

In this tutorial, let us look at the way to set how much the item will shrink relative to the rest of the elements in JavaScript. To set item shrink relative to the rest of the elements, we can utilize JavaScript's flexShrink property. Let's take a quick look at this. ... Read More

How to work with document.links in JavaScript?

Shubham Vora

Shubham Vora

Updated on 15-Nov-2022 10:26:59

985 Views

In this tutorial, let us discuss how to work with the document's link in JavaScript. The document link property is a read-only DOM level 1 feature that returns all the links. The links property gives all the anchor elements and area tags with a href attribute. Working with document.links properties ... Read More

What are different ways of defining functions in JavaScript?

Shubham Vora

Shubham Vora

Updated on 15-Nov-2022 09:27:24

907 Views

In this tutorial, we will learn the different ways of defining functions in JavaScript. In programming, writing the same code again and again is not a great idea. It will increase the length and decrease the readability with more effort required for the program. The functions are there in the ... Read More

Advertisements