Posts by Hugo Leonardo • 3 points
2 posts
-
0
votes0
answers19
viewsQ: Typeerror: Cannot set Property '5' of Undefined
I am now starting to study Javascript, and am facing the following problem, when I run the code below I get the following error: TypeError: Cannot set property '5' of undefined lines = ["5 2", "6…
javascriptasked Hugo Leonardo 3 -
0
votes2
answers45
viewsQ: Exception with variables
I’m kind of new with exceptions treatment, what I wanted to do was read a variable in c++ and in case it’s different from the kind I declared to fall in catch. int x; try { cin >> x; } catch…