@anonymous/

UnacceptableGargantuanTigershark

JavaScript

No description

fork
loading
main.js
1
2
3
4
5
6
7
8
9
a=(s,e)=>{q='bleen';t=[];for(i=-10;i<11;i++)t.push(i);t.splice(4,0,'-'+q);t.splice(18,0,q);s=t.indexOf(s);e=t.indexOf(e);s>e&&t.reverse()&&(e=22-e)&&(s=22-s);return t.slice(s,e+1)}
console.log(a(-10,10))
console.log(a(0,10))
console.log(a(-10,"bleen"))
console.log(a("-bleen",2))
console.log(a("-bleen","-bleen"))
console.log(a(5,-4))
console.log(a('bleen','-bleen'))
Native Browser JavaScript