Follow

JS以前不能计算70的阶乘(即70!),因为超出了可以表示的精度。现在支持大整数了,就可以算了,浏览器的开发者工具运行下面代码,就OK。

var p = 1n;
for(var i = 1n; i <= 70n; i++) {
p *= i;
}
console.log(p); twitter.com/ruanyf/status/1194

t.me/private_channel_c14370a/3

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.