Do you want to write a javascript or typescript function which checks if an array contains duplicate values or not? And without using any array iterations in your function? There is an easy solution for that and that is Set. The Set allows you to store unique values of any type, it could be...
How to scroll TABLE to particular TR programmatically
Assuming the project has a table with hundred’s of rows as a data set. And in a certain situation, an action in some other part of your page should result in showing a particular row in a table dynamically by using jquery. How do scroll a table to particular tr? Firstly, to demonstrate that,...