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

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

  •  
  •   mytry · Nov 29, 2018 · 1527 views
    This topic created in 2720 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   ·   5271 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 03:59 · PVG 11:59 · LAX 20:59 · JFK 23:59
    ♥ Do have faith in what you're doing.