是否有一个库为旧版本实现新的Javascript / Ecmascript 5方法? [英] Is there a library which implements new Javascript/Ecmascript 5 methods for older versions?

查看:49
本文介绍了是否有一个库为旧版本实现新的Javascript / Ecmascript 5方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管 Ecmascript 5 引入了一些全新的功能,但它还添加了一些新方法(绑定,修剪,映射等),这些方法应该完全可以在当前版本中实现(尽管速度较慢)。是否存在实现这些向后兼容功能的库(并且不再包括Prototype et.al.)

Although Ecmascript 5 introduces some completely new features, it also adds some new methods (bind, trim, map, etc.) which should be perfectly possible to implement (albeit slower) in current versions. Does a library exist which implements these backwards compatible features (and no more, excluding Prototype et. al.)

推荐答案

所以,我刚放弃并开始 ES5库

So, I just gave up and started an ES5 library

这篇关于是否有一个库为旧版本实现新的Javascript / Ecmascript 5方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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