Rushi Javiya has Published 167 Articles

Explain the Tuple Types in TypeScript

Rushi Javiya

Rushi Javiya

Updated on 17-Jan-2023 10:01:18

319 Views

We will learn about the tuple types in TypeScript. In JavaScript, an array can contain elements of different data types. Still, as TypeScript is a superset of JavaScript and type-strict language, a TypeScript array can contain only single types of elements. So, the tuple allows us to store elements of ... Read More

Explain the symbol type in TypeScript

Rushi Javiya

Rushi Javiya

Updated on 17-Jan-2023 09:58:20

6K+ Views

The Symbol is introduced in the last main revision of JavaScript, ES6. The Symbol is a data type. As we use the number, string, or Boolean to create the variables of different data-type, we can use the symbol type to create the Symbol. Using the symbol types has many benefits ... Read More

Extract unique objects by attribute from an array of objects in JavaScript

Rushi Javiya

Rushi Javiya

Updated on 17-Jan-2023 09:54:24

7K+ Views

We will learn to extract unique objects by attribute from an array of objects in this tutorial. Sometimes, we need to filter objects from the array of objects based on a particular attribute. For example, we have an id as a key to identify the object. So, we need to ... Read More

Explore the concept of JavaScript Function Scope and different types of JavaScript Functions

Rushi Javiya

Rushi Javiya

Updated on 17-Jan-2023 09:50:37

837 Views

In JavaScript, various scopes allow us to access the functions and variables from different places in our code. We will learn about the function scope in this tutorial. Also, we will explore the different types of function expressions in JavaScript. Function Scope When we create a new function in JavaScript, ... Read More

Explain the purpose of the ‘in’ operator in JavaScript

Rushi Javiya

Rushi Javiya

Updated on 17-Jan-2023 09:46:28

193 Views

This tutorial will teach about the ‘in’ operator in JavaScript. There are many operators available in JavaScript, such as arithmetic operators to perform mathematical operations, assignment operators, equality operators, etc. The ‘in’ operator is also one of them, which we can use to find properties from the object. Before we ... Read More

Explain the concepts of functional programming in JavaScript

Rushi Javiya

Rushi Javiya

Updated on 17-Jan-2023 09:43:02

262 Views

There are mainly two programming paradigms: The imperative programming paradigm and the declarative programming paradigm. Functional programming is a subtype of the declarative paradigm. The paradigm word refers to the approach to solving a particular problem. Functional programming has been in use for the last decades but came in the ... Read More

Explain sub-classes and inheritance in ES6

Rushi Javiya

Rushi Javiya

Updated on 17-Jan-2023 09:40:52

372 Views

In JavaScript, developers used the prototype to inherit the function with another function in ES5. In the ES6, classes introduced in JavaScript can be used for inheritance as other programming language does. What are sub-classes and inheritance? As the subclass word represents, it is a child class of another class. ... Read More

Can JavaScript be used for Android Development?

Rushi Javiya

Rushi Javiya

Updated on 16-Jan-2023 17:58:57

2K+ Views

Since smartphones are so close to people, mobile app development has begun to influence the world. A combination of languages, primarily JavaScript, CSS, and HTML, is utilized to construct all types of coding. The development of mobile apps is now one of the most crucial areas of current technology developments. ... Read More

How do I start learning JavaScript?

Rushi Javiya

Rushi Javiya

Updated on 16-Jan-2023 17:56:58

314 Views

In the contemporary world, JavaScript is among the most widely used programming languages. Although it has certain additional use cases, web development is where people use it frequently, particularly when creating interactive front-end features. The top programming languages to learn, without a doubt, include JavaScript. If you want to work ... Read More

Top JavaScript Best Practices and Standards to Know

Rushi Javiya

Rushi Javiya

Updated on 16-Jan-2023 17:55:58

205 Views

JavaScript is a popular programming language that is widely used for building web applications. It is a powerful and flexible language that can be used to create a wide variety of applications, from simple scripts to complex programs. Some common practices for writing JavaScript code − Name things by their ... Read More

Advertisements