Functions, Objects, and Arrays in JAVASCRIPT

Java is to JavaScript as ham is to a hamster.

Function

DEMONSTRATIONS WITH EXAMPLES:

Objects

String methods

String search Method

Number methods

  • toString()
  • toExponential()
  • toFixed()
  • toPrecision()

Array

Difference between Array and Objects

JavaScript Array Methods

  • reverse()– The reverse() method is used to reverse the order of the elements in an array. It will change the original array and swap the order of the elements.
  • sort() — The sort() method is used to sort an array alphabetically This function sorts the values as strings by default.

--

--

--

IEEE_TEMS, a chapter of VIT UNIV, before we tell about us STOP! Make your fingers join forces with your mind to work hard.Let’s go to the glassy world of techs

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

Recommended from Medium

findDifference: Return the position of the first corresponding elements of a1 and a2 that are not…

How to implement stripe payments in 2020 payment intents using react and nodejs

Rockin’ around the JavaScript tree 🎄🎨

How to find the longest word in a string using JavaScript

Rabbit Catch dapp update!

another ja.kirshbaum post!

Contact Us

Created a New Tool: TestCase Studio

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
IEEE_TEMS BLOGS

IEEE_TEMS BLOGS

IEEE_TEMS, a chapter of VIT UNIV, before we tell about us STOP! Make your fingers join forces with your mind to work hard.Let’s go to the glassy world of techs

More from Medium

Functional Programming Examples using JavaScript

HashMap: Map vs Object in JavaScript

4 Ways to Handle Async Operations in Javascript

4 Ways to Handle Async Operations in Javascript

Features of Different Javascript Framework : Node Js, BackBone JS, Ext Js