The Top 7 Uses For VMware Workstation

vmware workstation

VMware Workstation is the wildly popular software which facilitates creating and operating virtual machines or VM’s right on your x86 based laptop or desktop computer. At the time of this writing, VMware Workstation is now up to version 12 and it is very common to find it installed on the laptops of Information Technology Pros, Software Developers, Web Developers, or just plain technology enthusiasts. VMware Workstation is the original, and best, virtualization solution allowing you to run all kinds of different operating systems on a single host computer.…

How Does The Filter Function Work In Underscore JS?

underscore filter

In Underscore, the filter function provides the ability to filter out some values based off of a Tester function that you pass it. The Tester function is more formally declared as the predicate. The concept is similar to many of the Underscore functions we have covered so far. The official signature of filter is _.filter(list, predicate, [context]) and it returns an array with all the items from the list collection that satisfy the test condition found in the predicate function.…

7 Examples of the Every Function in Underscore JS

7 Examples of the Every Function in Underscore JS

This tutorial takes a look at the _every() function in Underscore. When you need to apply a truth test to all values in an array, _every() is there to help you out. Because of JavaScript’s loose type checking, making use of _every() and the related _some() function can be helpful. _every() uses the signature of _.every(list, [predicate], [context]). The function will check each item of the given list and will return true if every item satisfies the predicate function or if list is null, undefined or empty.…

3 Examples of the Underscore Reduce Function

3 Examples of the Underscore Reduce Function

In Underscore, the _reduce() function is used to transform an array or object properties into one single value. The signature of the reduce function is _.reduce(list, iteratee, [memo], [context]). We can see that both memo, and context are optional parameters. If the memo parameter is not provided during function execution, then it is the first array element or object property that gets used for the seed value.…

Underscore JS sortBy Function

Underscore JS sortBy Function

This Underscore JS tutorial will focus on the Underscore sortBy function, which works with both JavaScript objects and JavaScript arrays. Like the other tutorials that offer code examples we can run, so too will we offer several examples of the sortBy() function here. We’ll look at sorting an integer array, sorting string arrays, sorting by the property name of an array of objects, as well as setting up custom sort criteria.…