How to Select from a JavaScript Weighted List (NodeJS, Browser)
This article covers how to select a random item from a weighted list in JavaScript. It also contains an example of how to test and visualize the results using the command line or the browser.