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

JS 指数塔运算,有更简单的实现吗?

  •  
  •   mytry · Nov 29, 2018 · 1654 views
    This topic created in 2784 days ago, the information mentioned may be changed or developed.

    T = (a, n) => n ? a ** T(a, n - 1) : 1n
    

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5873 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 02:36 · PVG 10:36 · LAX 19:36 · JFK 22:36
    ♥ Do have faith in what you're doing.