_.each([1, 2, 3], function(num) { console.log(num); });
var evenNumbers = _.filter([1, 2, 3, 4, 5, 6], function(num) { return num % 2 === 0; }); console.log(evenNumbers);
var total = _.reduce([1, 2, 3, 4], function(sum, num) { return sum + num; }, 0); console.log(total);This code will output 10 to the console. In these examples, we can see that the '_' symbol is being used to refer to the Underscore.js library.