here is the code of the Javascript that i made
When i run the code the output result is blank and i went to the console and the error code is
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.