Underscore.js和jQuery相互补充吗? [英] Do Underscore.js and jQuery complement each other?

查看:70
本文介绍了Underscore.js和jQuery相互补充吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始学习JavaScript,偶然发现了 Underscore.js jQuery 。 Underscore看起来很酷,但我想知道jQuery是否还没有提供类似于Underscore的功能。那么,是否值得同时使用它们?

I'm just starting to learn JavaScript, and stumbled over Underscore.js and jQuery. Underscore looks really cool but I wonder if jQuery does not already provide functions similar to Underscore. So, is it worthwhile to use both?

推荐答案

取自下划线网站:


这与jQuery的礼服和Backbone.js的吊带相配合。

It's the tie to go along with jQuery's tux, and Backbone.js's suspenders.

Underscore更适合数据操作,并为JavaScript带来了许多Ruby方法。有一些交叉,但不足以使它们相互排斥。

Underscore is more suited to data manipulation and brings many Ruby methods to JavaScript. There is some crossover, but not enough to make them mutually exclusive.

这篇关于Underscore.js和jQuery相互补充吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆