Home > Software design >  output result is blank and turns out parameter is not defined?
output result is blank and turns out parameter is not defined?

Time:03-14

here is the code of the Javascript that i madeenter image description here

When i run the code the output result is blank and i went to the console and the error code is enter image description here

i try to find the fix by changing the variable but nothing seems fix this problem idk it just a parameter , i should have to use let "Variable" right ? anyone can help Thanks.

CodePudding user response:

i got my answers after Think hard enough it seem the code where const penemuan = Iscontain(array,searchValue) it is wrong the searchValue i should make it to Penyarian cuz the name of the variable is penyarian and the variable searchValue is used on the Function so it should be Iscontain(array,penyarian) than it will work.

  • Related