+ 1
this might be the lamest JavaScript program you have seen... but am a beginner and a dummy.. am trying to make a lotto game
2 Respostas
+ 8
It's cool!
Suggestions:
At line 11 & 12 var should be lowercase not Var
Consider removing the "here" text. not like you can enter text anywhere else. you waste time deleting it anyway.
Add a default input when no input is given
in your getValue function a-d variables like
var a = prompt ('text') || 2
That's all it's better than most codes.
+ 4
v should be small in var