Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let step = getDexAsArray(true).filter(function(item){
  2.     return isPrime(getBST(item));
  3. }).map(function(item){
  4.     return {name: item.species, bst: getBST(item)};
  5. }).sort(function(item1, item2){
  6.     return item1.bst < item2.bst ? -1 : 1;
  7. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement