특정 범위의 JavaScript에서 임의의 정수 생성 예를 들어 JavaScript)를 해야 ?x = 4 ★★★★★★★★★★★★★★★★★」y = 8다음 중 하나를 출력할 수 있습니다.4, 5, 6, 7, 8Mozilla Developer Network 페이지에는 다음과 같은 예가 있습니다. /** * Returns a random number between min (inclusive) and max (exclusive) */ function getRandomArbitrary(min, max) { return Math.random() * (max - min) + min; } /** * Returns a random integer between min (inclusive) and max (inclusive)..