change `p = Math.floor(Math.random()*this.length);` to `p = Math.floor(Math.random()*a.length);` Thank's
change
p = Math.floor(Math.random()*this.length);to
p = Math.floor(Math.random()*a.length);Thank's