V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
hello826
V2EX  ›  程序员

JavaScript 有没有类似 Java 中 apache 的 commons 库

  •  1
     
  •   hello826 · 2020-08-04 15:37:12 +08:00 · 1610 次点击
    这是一个创建于 1332 天前的主题,其中的信息可能已经有所发展或是发生改变。
    不是专业的 JavaScript 开发,但是在平时工作中是要经常用到 JavaScript 的,有时候要对数组,字符串,对象判断感觉不是很方便,这个应该有轮子吧
    8 条回复    2020-08-04 16:44:16 +08:00
    beryl
        1
    beryl  
       2020-08-04 15:38:55 +08:00
    Jquery (-
    ituren
        2
    ituren  
       2020-08-04 15:41:36 +08:00   ❤️ 1
    lodash
    hello826
        3
    hello826  
    OP
       2020-08-04 16:08:53 +08:00
    @ituren 非常到位,就是这样的库
    hello826
        4
    hello826  
    OP
       2020-08-04 16:15:30 +08:00
    @ituren 可惜只是兼容到 ie11,平时开发有时候还要兼容 ie10
    maichael
        5
    maichael  
       2020-08-04 16:19:11 +08:00   ❤️ 1
    waltcow
        6
    waltcow  
       2020-08-04 16:38:59 +08:00   ❤️ 1
    ramda
    hello826
        7
    hello826  
    OP
       2020-08-04 16:40:57 +08:00
    @waltcow 哎呦,又这么多 js 库呀。看来我还是太年轻了,见识太少
    jiangzm
        8
    jiangzm  
       2020-08-04 16:44:16 +08:00
    @hello826 lodash 体积很大注意按需引用
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1197 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:12 · PVG 07:12 · LAX 16:12 · JFK 19:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.