Sometimes you may need to find max value of attribute in Array of JS objects. Here are the steps to do this using JavaScript.
How to Get Last Item in JS Array
Sometimes you may need to retrieve last item of JS array. Here are the steps to get last item in JS array.
How to Check if Variable is Object in JS
How to Check if Browser Tab is Active
Sometimes you may need to check if browser tab is active. In this article, we will learn how to do this using JavaScript.
How to Find DOM Element Using Attribute Value
Sometimes you may need to find DOM element using attribute value. Here is how to do it in JavaScript using querySelector function.
How to Generate Hash from String in JavaScript
How to List Properties of JS Object
How to Detect if Device is iOS
How to Count Character Occurrence in String in JS
Often you may need to count character occurrence in string in JavaScript. Here are the steps to do so.
How to Add Auto Increment ID to Existing Table in MySQL
Sometimes you may need to add auto increment id to existing table in MySQL. Here are the steps to do it.