Posts by jatt01990

Author Biographical Info: Not available

Find the maximum and minimum values of an array in JavaScript

By jatt01990

There are a couple of ways to find the maximum and minimum values of an array in JavaScript. Method 1 – Using min() and max() The fastest way is by using the min() and max() .... Read More

Sort array values alphabetically in JavaScript

By jatt01990

Introduction Sorting is one of the most common operations in programming. Arrays can also be sorted. In JavaScript, the sort() function is used to sort an array. The sort() functio.... Read More

Convert a JavaScript array into JSON

By jatt01990

Introduction JavaScript Object Notation or commonly known as JSON is a popular way of interchanging data. It is language independent and most of the modern programming languages su.... Read More

Related Posts