• 请不要在回答技术问题时复制粘贴 AI 生成的内容
TomeWong
V2EX  ›  程序员

this.callback && (this.callback.call(this, 'cancel'))

  •  
  •   TomeWong · Jun 30, 2020 · 1861 views
    This topic created in 2174 days ago, the information mentioned may be changed or developed.

    在 typescript 下会报错 有 es6 写法么

    谢谢

    2 replies    2020-07-02 10:52:20 +08:00
    wednesdayco
        1
    wednesdayco  
       Jul 1, 2020
    这跟 es6 有关系么……
    TomeWong
        2
    TomeWong  
    OP
       Jul 2, 2020
    @wednesdayco 感觉没有关系
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2782 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 15:28 · PVG 23:28 · LAX 08:28 · JFK 11:28
    ♥ Do have faith in what you're doing.