TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Picking a random element from a stream

2 pointsby javanixover 13 years ago

1 comment

javanixover 13 years ago
Here's a link to the Stack Overflow question I found this from.<p>Pretty cool algorithm!<p><a href="http://stackoverflow.com/questions/2532218/pick-random-property-from-a-javascript-object" rel="nofollow">http://stackoverflow.com/questions/2532218/pick-random-prope...</a>