Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用sugarjs。使用 numbers api 时,coffeescript 并不顺利。我在想它是括号..有什么更好的方法来做到这一点。
(50).pad(5) 转换为 50..pad(5)
如何保持括号完好无损。
谢谢
为什么要保持括号完整?他们不需要。这种方式工作得很好