如何在Javascript中的两个指定变量之间生成随机整数,例如x = 4并y = 8输出4,5,6,7,8中的任何一个?
x = 4
y = 8
javascript random integer
integer ×1
javascript ×1
random ×1