658 viewsJS Amazona
0 Comments

Uncaught (in promise) TypeError: (destructured parameter) is undefined
h main.js:2911
render main.js:4111
Y main.js:4509

That is the error that is thrown on productlist click

Bassir Answered question October 13, 2022

This function declaration here:

function myf({var1, var2}) {

}

but you call it without parameter like this:

myf();
Without any argument. This means that myf user will start by attempting to do:

{ var1, var2 } = undefined
Which is the type error that you are recieving.

Bassir Answered question October 13, 2022
You are viewing 1 out of 1 answers, click here to view all answers.