JavaScript/数字与字符串:修订间差异
来自康健生活
创建页面,内容为“== 引言 == === +‘’ === {{Leftrightflex|<syntaxhighlight lang="javascript"> Math.random() * 2 + 1 (Math.random() * 2 + 1)+'' Math.random() * 2 + 1+'' </syntaxhi…” |
|||
| 第5行: | 第5行: | ||
(Math.random() * 2 + 1)+'' | (Math.random() * 2 + 1)+'' | ||
Math.random() * 2 + 1+'' | Math.random() * 2 + 1+'' | ||
</syntaxhighlight>|<pre> | </syntaxhighlight>|{{Consoleout|<pre> | ||
2.7966287720083733 | 2.7966287720083733 | ||
"2.3283443478687413" | "2.3283443478687413" | ||
"2.8465684253729235" | "2.8465684253729235" | ||
</pre>}} | </pre>}}}} | ||
2020年6月14日 (日) 13:00的版本
No categories