let bdays = ["10-17", "05-19", "20-19"];
how do i change the ‘-‘ in that array to ‘/’.
MEDevel.com: Open-source for Healthcare and Education Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology. Visit Medevel
Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.
let bdays = ["10-17", "05-19", "20-19"];`` for( let bday of bdays) { bdays[bdays.indexOf(bday)]= bday.replace('-','/'); }
Name
Email
Website
Turn on JavaScript to leave a comment.
Δ