1.0.0-alpha.3 • Published 9 years ago

underscore_l v1.0.0-alpha.3

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Underscore L JavaScript library

===========================================

Installation

via bower:

$ bower install underscore_l

and then, include the underscore_l.js into your application.

<script src="bower_components/underscore_l/underscore_l.js"></script>

Usage

Example 1: Search the largest value in the array.

var arr = [3, 0, -3, 0, 1, 8, 2, 4];
var max = _l.max(arr);
console.log(max); // result: 8

Example 2: Search smallest value in the array.

var arr = [3, 0, -3, 0, 1, 8, 2, 4];
var min = _l.min(arr);
console.log(min); // result: -3

License

MIT