Get started with underscore.js CDN
MIT licensed
Underscore.js: Popular library for simplifying tasks with utility functions in JS.
Tags:- utility
- popular
Stable version
Copied!
How to start using underscore.js CDN
// Include Underscore.js library from the CDN
const _ = window._;
// Sample data
const numbers = [1, 2, 3, 4];
// Use _.map function to square each number in the array
const squaredNumbers = _.map(numbers, (num) => num * num);
// Log the result
console.log(squaredNumbers); // [1, 4, 9, 16]
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
All versions
0.1.0
0.1.1
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
0.4.0
0.4.1
0.4.2
0.4.3
0.4.4
0.4.5
0.4.6
0.4.7
0.5.0
0.5.1
0.5.2
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.6.0
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
1.10.0
1.10.1
1.10.2
1.11.0
1.12.0
1.12.1
1.13.0
1.13.0-0
1.13.0-3
1.13.1
1.13.2
1.13.3
1.13.4
1.13.5
1.13.6
*** 1.13.7
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.3.0
1.3.1
1.3.1-amdjs
1.3.2
1.3.3
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.5.0
1.5.1
1.5.2
1.6.0
1.7.0
1.8.0
1.8.1
1.8.2
1.8.3
1.9.0
1.9.1
1.9.2