🎓 Academic Dealing with Javascript

Status
Not open for further replies.

msstar

Forum Veteran
good day mga ka phc!, pasensya na sa abala; anyone who's in javascript?
ganito kasi lumalabas na output (right part) here's my code (left)
I just need to output consecutive numbers with hyphen, depending in the input prompt

ex:
input is 3

output must be:
1-2-3

i've been dealing this for 24 hours already, any help will be really and so much appreciated, let me also know kung ano mali ko sa codes; array is one of my weakness 1f641.webp
 

Attachments

  • error.webp
    error.webp
    26 KB · Views: 15
siguro ts dahil sa while() mo, while(true) hindi talaga matatapos yan kaya out of memory ang error code
 
Status
Not open for further replies.

About this Thread

  • 5
    Replies
  • 385
    Views
  • 2
    Participants
Last reply from:
Unknown user

New Topics

Trending Topics

Online now

Members online
1,305
Guests online
1,131
Total visitors
2,436

Forum statistics

Threads
2,287,064
Posts
29,042,103
Members
1,216,361
Latest member
enot
Back
Top