Most successful coders agree you'll need to spend 2-3 hours a day for 6-9 months learning JavaScript and putting what you learn into practice to code at a hireable level.
You can dedicate less time and still be successful but remember to adjust your expectations accordingly.
JavaScript is beginner-friendly
There's also a huge JS community on sites like Stack Overflow, so you'll find plenty of support as you learn.
Not only is it beginner-friendly; it will also set you up with some extremely valuable transferable skills.