JavaScript 生成随机布尔值
const randomBoolean = () => Math.random() >= 0.5;
randomBoolean();
本文来自博客园,作者:重庆熊猫,转载请注明原文链接:https://www.cnblogs.com/cqpanda/p/17059383.html
const randomBoolean = () => Math.random() >= 0.5;
randomBoolean();
本文来自博客园,作者:重庆熊猫,转载请注明原文链接:https://www.cnblogs.com/cqpanda/p/17059383.html