<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
</body>
</html>
/**
* @description int random
* @param {number} min
* @param {number} max
* @return {number}
*/
const random = (min, max) => Math.floor(Math.random() * (max - min + 1)) + min;
const tweets = [
'https://twitter.com/SSm1t/status/940143654718631936',
'https://twitter.com/weglov/status/940216370364583936',
'https://twitter.com/GwittelAxim/status/939804902095761408',
'https://twitter.com/akrasheninnikov/status/939881201682341889',
'https://twitter.com/nox_wave/status/940190619422609408',
'https://twitter.com/_shrike_/status/939890320610942977',
'https://twitter.com/yasvobodnyichel/status/939910301201391617',
'https://twitter.com/ZharovKir/status/940223084765827078',
'https://twitter.com/titovmx/status/940218062724390912',
'https://twitter.com/omallano/status/940230960628592640',
'https://twitter.com/unger1984/status/939857687449350144',
'https://twitter.com/bobagold/status/939872587538227200',
'https://twitter.com/busation/status/940198320248639488',
'https://twitter.com/busation/status/940197793670533121',
'https://twitter.com/bogatyrjov1/status/940191933493891074',
'https://twitter.com/a_at_earth/status/940164560639676416',
'https://twitter.com/drumm2k/status/940008433662812160',
'https://twitter.com/Yuri_Kra/status/940217299319054336',
'https://twitter.com/smelukov/status/940216214705631233',
'https://twitter.com/NonsenseIn/status/940214229734514688',
'https://twitter.com/kluyev_nikolay/status/940185454531502081',
'https://twitter.com/jaxxreal/status/939916836484927489',
'https://twitter.com/o_vibration/status/939874433157787648',
'https://twitter.com/apocalyp_sys/status/939863011421978624',
'https://twitter.com/textmore/status/939861633790341120',
'https://twitter.com/neonick_ru/status/939861479477608448',
'https://twitter.com/Alan95494177/status/939832041780273152',
'https://twitter.com/unger1984/status/939818252468932608',
'https://twitter.com/kelin2025/status/939813259431108608',
'https://twitter.com/life__777/status/939805223010398208',
'https://twitter.com/_gitim/status/939760211690180608',
'https://twitter.com/Xronosd/status/940216528838029312',
'https://twitter.com/TempleOfTemplar/status/940152134963793920',
'https://twitter.com/L2jLiga/status/939872143000694789',
'https://twitter.com/busation/status/939817521879896064',
'https://twitter.com/xmalinov/status/939756867902951424',
'https://twitter.com/adpermin/status/940143700688162818',
'https://twitter.com/FollowKepoon/status/939860640965029889'
];
console.log(tweets[random(0, tweets.length - 1)]);
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |