Difference between var and let and const in JavaScript

Today article we are going to discuss var and let and const feature. Most people worked on var but not sure about the let and const.¬† Because var is more flexible than let and const. ¬†First why var is more flexible than let and const. var can easy to access between the function and files, […]

How to use JavaScript Array Reverse Method

In my previous post we have discussed about sorting the array element using JavaScript in ascending and descending. JavaScript have another method called Reverse which will reverse order of array elements. Reverse method will not support the compare function like Sort method. // Create array variable and assign the element var arrData = ["PHP","ASP","Nodejs","GO","JAVA"] // […]