what does uncaught type error mean code example
Example: what is an uncaught type error
update() {
var lSpritesLength=this.sprites.length;
for(let i=0;i<lSpritesLength;i++){
this.sprites[i].update();
}
}
update() {
var lSpritesLength=this.sprites.length;
for(let i=0;i<lSpritesLength;i++){
this.sprites[i].update();
}
}