Ask coding questions

← Back to all posts
TypeError appears when function `playMusic()` is called in `document.body.innerText.replace()`
RixTheTyrunt

I'm trying to make a music program, because I got an idea how to AUTOPLAY MUSIC, THAT I'M SURE EVERY BROWSER SUPPORTS THIS METHOD. So well, I'm moving on and suddenly seen a TypeError error, and the error showed it's appearing somewhere in the innerHTML part of document.body in the replace method. Please help me. Imagine I am a person with a broken foot, OK? ( I didn't broke a foot )

Voters
RixTheTyrunt
Comments
hotnewtop
SixBeeps

Looks like you fixed it?

RixTheTyrunt

Yee

SixBeeps

@RixTheTyrunt In that case, don't look below

You looked, now gimme cycle 🔫😎

RixTheTyrunt

I didn't look. The reply came from that comment above