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

How To Add Multi Language Support To Webflow — TUTORIAL

Why React Native Has Opted for New Architecture? What’s Expected from this Change?

Why React Native Has Opted for New Architecture? What’s Expected from this Change?

Stop using if/switch, use objects instead

Dynamic Form Inputs with React Controlled Forms

Gradually Migrating from AngularJS to React + Redux

How To Host a Vue.js Static Website With GCP Cloud Storage

Jquery Add Edit Delete Table Row Example

Handcrafted Simple React App

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

JavaScript Map, Filter and Reduce with simple examples

Filtering out the entries to planet Foo

Introduction to JavaScript

What I’ve Done So Far Pt. 2 (JS)

Introduction to web API and how JavaScript is concerned.. 30daysofjavascript ==> Day 22