A Pen by Anthony Welc

Thumbnail
This awesome code was written by AnthonyWelc, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright AnthonyWelc ©

Technologies

  • HTML
  • JavaScript
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Anthony Welc</title>
  
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">

  
  
  
</head>

<body>

  
  
  

    <script  src="js/index.js"></script>




</body>

</html>

/*Downloaded from https://www.codeseek.co/AnthonyWelc/a-pen-by-anthony-welc-jwRVLx */
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }

var pokedex = 'https://raw.githubusercontent.com/Biuni/PokemonGO-Pokedex/master/pokedex.json';

fetch(pokedex).then(function (res) {
  return res.json();
}).then(function (resJson) {
  var _console;

  return (_console = console).log.apply(_console, _toConsumableArray(resJson[0]));
});

Comments