Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <div id='out'></div>
</body>
</html>
 
fetch('https://cu3po42.github.io/SVEx-Crawler/tsvs.json').then(function(res) {
  return res.json();
}).then(function(res) {
  var tsvs7 = res.tsvs7;
  var activeTsvs = Array(4096)
    .fill(0)
    .map(function (e, i) { return i; })
    .filter(function(i) { return tsvs7[i].length; })
    .map(function(i) { return ("0000" + i).slice(-4); })
    .join('<br/>');
  var out = document.getElementById('out');
  out.innerHTML = activeTsvs;
}).catch(function (e) {
  console.log(e);
});
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers