REPL throwing TypeError
https://babeljs.io/repl/ is throwing the error below:
react-dom.production.min.js:23 TypeError: document.body.append is not a function(…)
Interesting, I don't have this issue on my side (even after cleaning the cache).
Can you see the REPL? Could you retry after cleaning your cache?
it works for me too.
Not sure if this is related, but I clicked "Try" on the JavaScript block of code in the "JSX and Flow" section of the homepage. Here's the REPL.
I'm getting this error without making any modifications to the sample: repl: Unexpected token, expected { (6:19) 4 | }, 5 |
6 | getRandomNumber(): number { | ^ 7 | return Math.ceil(Math.random() * 6); 8 | }, 9 |
I can't get that block formatted correctly, sorry.
@joosebox thanks for the report! that issue (though unrelated) should now be fixed!
@existentialism well that was fast! awesome! :)
mind letting me know what the fix was? curiosity is getting the best of me. thanks in advance!
@joosebox landed https://github.com/babel/website/pull/1434, which fixed a bug caused by a recent PR! (though I just found another lol)