
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are the differences between lodash and underscore?
lodash and underscore are both utility libraries that make JavaScript easier by providing utils that make working with arrays, numbers, objects, strings, etc. much easier. These libraries are great for −
Iterating arrays, objects, & strings
Manipulating & testing values
Creating composite functions
They are both functional libraries. Lo-Dash is a fork of Underscore, and still follows Underscore’s API enough to allow it to serve as a drop-in replacement. But under the hood, it’s been completely rewritten, and it’s also added a number of features and functions that Underscore does not provide.
Lo-Dash was created to provide more consistent cross-environment iteration support for arrays, strings, objects, and argument objects. It has since become a superset of Underscore providing extra features (like AMD support, deep clone, and deep merge), better overall performance and optimizations for large arrays/object iteration, and more flexibility with custom builds and template pre-compilation utilities.
- Related Questions & Answers
- What are the differences between C++ and Java?
- What are the differences between C and Java?
- What are the differences between holography and photography?
- What are the differences between solvency and liquidity?
- What are the differences between IPO and FPO?
- What are the differences between Flutter and Xamarin?
- What are the differences between Telegram and WhatsApp?
- What are the differences between FDMA and CDMA?
- What are the differences between Antivirus and Antispyware?
- What are the differences between Fastag and Barcode?
- What are the differences between Dropbox and MiMedia?
- What are the differences between Fastag and NFC?
- What are the differences between Barcode and NFC?
- What are the differences between Wuala and ShareFile?
- What are the differences between Zetta and ShareFile?