If you're actually serious about learning to program, then it's going to take more than a few minutes of your life to learn.
But if you can't stomach investing more than a few minutes in learning to program in JavaScript or any other programming language, then you should really find something else do to with your extremely limited time.
Teach Yourself Programming in Ten Years, by Peter Norvig:
https://norvig.com/21-days.html
The last time I posted a link to this important essay, impatient people who weren't very serious about investing any time in learning or reading simply and immediately responded to the title, but didn't bother to actually follow the link or read and respond to any of Peter Norvig's brilliant essay (and probably didn't even know who he was), so here is an excerpt.
>Researchers (Bloom (1985), Bryan & Harter (1899), Hayes (1989), Simmon & Chase (1973)) have shown it takes about ten years to develop expertise in any of a wide variety of areas, including chess playing, music composition, telegraph operation, painting, piano playing, swimming, tennis, and research in neuropsychology and topology. The key is deliberative practice: not just doing it again and again, but challenging yourself with a task that is just beyond your current ability, trying it, analyzing your performance while and after doing it, and correcting any mistakes. Then repeat. And repeat again. There appear to be no real shortcuts: even Mozart, who was a musical prodigy at age 4, took 13 more years before he began to produce world-class music. In another genre, the Beatles seemed to burst onto the scene with a string of #1 hits and an appearance on the Ed Sullivan show in 1964. But they had been playing small clubs in Liverpool and Hamburg since 1957, and while they had mass appeal early on, their first great critical success, Sgt. Peppers, was released in 1967.
This essay is a classic that's been discussed on HN numerous times:
https://news.ycombinator.com/item?id=27411276
https://news.ycombinator.com/item?id=20543495
https://news.ycombinator.com/item?id=16574248