Tag Archives: javascript array

How to Search a JavaScript Object Array

Searching a javaScript object can be a little tricky. While working on a project I found the need to search a dataset and do something useful with the findings. So my team and I came up with this nifty little script to allow an object to be searched by single values, multiple values and even wild cards. It’s fast and extremely easy to use. Continue reading

Posted in JavaScript | Tagged , , , , , , , , | 1 Comment

Get Length of JavaScript Object Array

Unlike javaScript arrays, the “.length” property doesn’t exist in objects. Why? because it’s an object of data. Just a place to store stuff. So here’s a small and simple script you can run to return the length of an object so you can sift through it. Continue reading

Posted in JavaScript | Tagged , , , , , , , , | Leave a comment