🎓 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: 13
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
  • 377
    Views
  • 2
    Participants
Last reply from:
Unknown user

Online now

Members online
963
Guests online
855
Total visitors
1,818

Forum statistics

Threads
2,276,261
Posts
28,968,783
Members
1,231,191
Latest member
yonam
Back
Top