Get a random item from an array | The Dev Tool |

let items = [250, 500, 70, 20, 300]

let random = items[Math.floor(Math.random()*items.length)];

Created by: userf9BwjbMxsdwn8Kxu9MNW45


This page is only partially working without JavaScript. It will show content, but the tools and interactivity cannot be shown without JavaScript enabled. Please enable JavaScript for this page. About Us