A different angle to learn JavaScript

1.array.concat()

Concat means add. The concat() method is used to marge 2 or more array

2. array.filter()

Filter means filter. array.filter() method returns a new array with all elements that pass the test implemented by the provided function.

3. Math.floor()

The Math.floor() function returns the largest integer less than or equal to a given number.

4.Number.parseFloat

The number.parseFloat() method parses an argument and returns a floating-point number. If a number cannot be parsed from the argument, it returns NaN.

5.toLowecase()

This method using for string value converted from upper case to lower case. If we want to do string lowerCase then we will use this method.

6.toUpperCase()

toUpperCase() is a JavaScript String method. This method using for string value converted from upper case to lower case. If we want to do string Upper Case then we will call this method.

7.shift()

Array.shift() method removes the first element from an array and returns that removed element. This method changes the length of the array.if you want to delete the first element from the array then you will apply this method.

8.unshift()

unshift() the method adds one or more elements to the beginning of an array and returns the new length of the array.

9.pop()

pop() method deleted the last element from an array and returns that element. This method changes the length of the array. if we want to delete the last elements or information then we will call this method.

10.map()

map() the method makes a new array populated with the results of calling a provided function on every element in the calling array.

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A Better Way To Copy a Immutable Object Using Dart

How To Run and Deploy Angular with NodeJS Backend on Azure App Services

Objects and their internal representation in Javascript.

Exporting Data to Excel with React

Hosting multiple apps on the same server — Implement a reverse proxy with Node

What the heck is callback hell?

How To Host a React Static Website on Azure

HOW TO IMPORT SWAGGER FILES TO READYAPI AND POSTMAN?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tareq Hassan

Tareq Hassan

More from Medium

Understanding the stack data structure in JavaScript— How does JavaScript use it?

5 JS Date object methods to make life easy

use getTime() to compare two dates

CB2 Clone with Backend Masai School

Internal Representation of Objects in JS