random-facts
Version:
Get a random fact.
49 lines (47 loc) • 3.92 kB
JavaScript
var facts = [];
// Facts
facts.push('Movie trailers were originally shown after the movie, which is why they were called “trailers”.');
facts.push('The top six foods that make your fart are beans, corn, bell peppers, cauliflower, cabbage and milk!');
facts.push('A crocodile can’t poke its tongue out');
facts.push('95% of people text things they could never say in person.');
facts.push('A baby octopus is about the size of a flea when it is born.');
facts.push('A baby spider is called a spiderling.');
facts.push('10% of the World’s population is left handed.');
facts.push('Gorillas burp when they are happy');
facts.push('Apple launched a clothing line in 1986. It was described as a “train wreck” by others.');
facts.push('Scientists have tracked butterflies that travel over 3,000 miles.');
facts.push('More than 60,000 people are flying over the United States in an airplane right now.');
facts.push('Our eyes are always the same size from birth, but our nose and ears never stop growing.');
facts.push('If 33 million people held hands, they could make it all the way around the equator.');
facts.push('A “jiffy” is the scientific name for 1/100th of a second.');
facts.push('More than 50% of the people in the world have never made or received a telephone call.');
facts.push('A flea can jump up to 200 times its own height. That is the equivalent of a human jumping the Empire State Building.');
facts.push('A ball of glass will bounce higher than a ball of rubber.');
facts.push('In the past 20 years, scientists have found over 1,000 planets outside of our solar system.');
facts.push('If you started with $0.01 and doubled your money every day, it would take 27 days to become a millionaire.');
facts.push('A person can live without food for about a month, but only about a week without water. If the amount of water in your body is reduced by just 1%, you’ll feel thirsty. If it’s reduced by 10%, you’ll die.');
facts.push('Months that begin on a Sunday will always have a “Friday the 13th”.');
facts.push('In France, it is legal to marry a dead person.');
facts.push('The harder you concentrate on falling asleep, the less likely to fall asleep.');
facts.push('You can’t hum while holding your nose closed.');
facts.push('There are more stars in space than there are grains of sand on every beach in the world.');
facts.push('On Jupiter and Saturn it rains diamonds.');
facts.push('Dolphins sleep with one eye open!');
facts.push('In 2006, an Australian man tried to sell New Zealand on eBay. The price rose to $3,000 before eBay shut it down.');
facts.push('Reed Hastings was inspired to start Netflix after racking up a $40 late fee on a VHS copy of Apollo 13.');
facts.push('When three-letter airport codes became standard, airports that had been using two letters simply added an X.');
facts.push('At one point in the 1990s, 50% of all CDs produced worldwide were for AOL.');
facts.push('A British man changed his name to Tim Pppppppppprice to make it harder for telemarketers to pronounce.');
facts.push('J.P. Morgan once offered $100,000 to anyone who could figure out why his face was so red. No one solved the mystery.');
facts.push('Prairie dogs say hello with kisses.');
facts.push('After OutKast sang “Shake it like a Polaroid picture,” Polaroid released a statement that said, “Shaking or waving can actually damage the image.”');
facts.push('Jonas Salk declined to patent his polio vaccine. "There is no patent," he said. "Could you patent the sun?"');
facts.push('The 50-star American flag was designed by an Ohio high school student for a class project. His teacher originally gave him a B–.');
facts.push('12+1 = 11+2, and "twelve plus one" is an anagram of "eleven plus two."');
// End of facts
exports.randomFact = function() {
return facts[Math.floor(Math.random()*facts.length)];
}
exports.factCount = function() {
return facts.length;
}