Modern JavaScript and Python have a lot in common - for example the iteration protocol, generators, module import syntax, and async/await syntax should feel pretty similar. JS does not have comprehension syntax (e.g. the list, dictionary, set, and generator comprehensions available in Python). It is much more common to use functional programming patterns. Arrow functions in JS are analogous to lambdas in python. JS functions do not have keyword arguments. Instead, it is fairly common for functions to accept an "options" object as their final positional parameter, containing key-value pairs. JS does not differentiate between "items" and "attributes". They are all just properties on an object, accessed with either square brackets obj['propertyName'] or dot notation obj.propertyName. A JS object literal is kind of similar to a dictionary in python, but JS also now has Map and Set classes. JS has a contextual this keyword, instead of a conventionally-named self parameter for object methods. Methods are not auto-bound to objects like they are in python. The this keyword is provided to a method at call-time - for example if you call someObj.someMethod() or someObj['someMethod']() the dot notation and square bracket notation implicitly provides someObj as the value of this inside someMethod. However in the following code: let method = someObj.someMethod; method(); The this keyword will not be someObj - it will either be the global object or undefined depending on if you are using strict mode. Function objects also have call, apply, and bind methods which can be used to explicitly set the value of this. JS does not have magic methods like python has - so you can't override the behavior of builtin operators like you can in python. For example the === operator always compares values by strict equality (same type and value for primitives, referential equality for objects). JS classes do not support multiple inheritance, though multiple inheritance is possible via object prototypes. JS has a for...in loop as well as a for...of loop. The for...of loop is the one that works like for...in in python, which is easy to mix up. JS has both a null primitive and an undefined primitive, as opposed to Python's singular None. Obviously there are syntax differences - python uses a much more minimalist, significant-whitespace syntax, while JS has a more C-like syntax with more brackets, parens, semicolons, etc. And of course there are various other differences, but these are the ones that I think are most likely to trip you up when learning JS coming from a Python background. Answer from Deleted User on reddit.com
🌐
Reddit
reddit.com › r/learnpython › learning javascript after python
r/learnpython on Reddit: Learning Javascript after Python
October 22, 2021 -

Two things strike me with Javascript as opposed to Python (obviously, caveats apply...)

  1. Learning Javascript to enable the web is far more practical than learning a Python GUI.

  2. All of the extra steps in Javascript when it comes to functional programming, yuck!

Top answer
1 of 5
42
I’m going the ofher way, learning python from scratch as a snr. js stack dev. Don’t mind python but there’s quirks to every language. I generally don’t find the tooling as satisfying in python yet, but I do like the fluency of the language. I like that I write it once and can expect it to do what I think it’s gonna do. I’m also not yet used to indentation mattering as much, not a huge fan but again; quirk of the language. Tips I’d give python devs learning JS: stay the hell away from frameworks until you’re comfortable with the core language, learn es6/typescript. learn by doing, find a project and work out how to spin it up, then find flaws and see what JS has to offer to improve in those areas. you’ll never learn it all, stick to making stuff that works/solves your problem. learn about javascript’s weird and predicable but not expected scoping rules pick up a typed form of JS (typescript/es6 with types) set up eslint with recommended(s) and prettier so you get the style of pretty-good js. learn the es6 way of doing something before the library-laden way. (Like the pyhonic way but for js) spend time on closures, async/await, lambdas, scoping, destructuring and Promise patterns (all, race, allResolved, etc), oh and coercion. look at what your ts/es6 transpiles down to (unminified) to get an idea of how JS does stuff under the hood. learn about tooling (node, npm, nps, jest, nyc, eslint, prettier, webpack/a bundler) learn about number/decimal handling if you plan on doing any math you need to trust (financial), see decimal.js & similar. Run “0.1 + 0.2” if you’re not sure why. learn about all the crazy places you can deploy JS (browser, node, electron, capcitor, etc). If you’re picking a base framework for front-end dev the answer is probably react. The State of JS survey results can guide you on what frameworks and libraries might be worth picking up. Good luck and welcome to ordered chaos.
2 of 5
37
Looping through an array in Javascript for the first time after doing it in Python for months was just, like, whaaaat.
🌐
Quora
quora.com › How-long-does-it-take-me-to-learn-JavaScript-if-I-know-Java-python-and-HTML
How long does it take me to learn JavaScript if I know Java, python, and HTML? - Quora
Answer (1 of 4): Java and Python has nothing to do with JavaScript. Infact most of the programming languages have nothing to do with each other except for the syntax (exception maybe Python). If you know the general syntax of programming then you can learn the syntax of any language within a day ...
🌐
Reddit
reddit.com › r/learnjavascript › how long it takes to learn javascript if i come from a python background?
r/learnjavascript on Reddit: How long it takes to learn Javascript if I come from a Python background?
September 24, 2021 -

At my job right now I work with Python (intermediate to advanced knowledge) and SQL (advanced knowledge) and some R but I'd like to switch career and learn Javascript.
I wonder how long it takes to learn Javascript (enough to pass jobs interviews) if I study it 3 hours per day and I'd like to know what frameworks should I focus on for better career prospects.

Thanks you!

Top answer
1 of 4
7
Modern JavaScript and Python have a lot in common - for example the iteration protocol, generators, module import syntax, and async/await syntax should feel pretty similar. JS does not have comprehension syntax (e.g. the list, dictionary, set, and generator comprehensions available in Python). It is much more common to use functional programming patterns. Arrow functions in JS are analogous to lambdas in python. JS functions do not have keyword arguments. Instead, it is fairly common for functions to accept an "options" object as their final positional parameter, containing key-value pairs. JS does not differentiate between "items" and "attributes". They are all just properties on an object, accessed with either square brackets obj['propertyName'] or dot notation obj.propertyName. A JS object literal is kind of similar to a dictionary in python, but JS also now has Map and Set classes. JS has a contextual this keyword, instead of a conventionally-named self parameter for object methods. Methods are not auto-bound to objects like they are in python. The this keyword is provided to a method at call-time - for example if you call someObj.someMethod() or someObj['someMethod']() the dot notation and square bracket notation implicitly provides someObj as the value of this inside someMethod. However in the following code: let method = someObj.someMethod; method(); The this keyword will not be someObj - it will either be the global object or undefined depending on if you are using strict mode. Function objects also have call, apply, and bind methods which can be used to explicitly set the value of this. JS does not have magic methods like python has - so you can't override the behavior of builtin operators like you can in python. For example the === operator always compares values by strict equality (same type and value for primitives, referential equality for objects). JS classes do not support multiple inheritance, though multiple inheritance is possible via object prototypes. JS has a for...in loop as well as a for...of loop. The for...of loop is the one that works like for...in in python, which is easy to mix up. JS has both a null primitive and an undefined primitive, as opposed to Python's singular None. Obviously there are syntax differences - python uses a much more minimalist, significant-whitespace syntax, while JS has a more C-like syntax with more brackets, parens, semicolons, etc. And of course there are various other differences, but these are the ones that I think are most likely to trip you up when learning JS coming from a Python background.
2 of 4
4
I mean... it's different for different people, but if you know Python you should be able to pick up js relatively quickly. Maybe a couple months then start applying to jobs? React is probably still the biggest framework and best for job prospects.
🌐
Learnjavascript
blog.learnjavascript.online › posts › how-long-to-learn-javascript
How long does it take to Learn JavaScript? - Learn JavaScript Blog
June 28, 2025 - You can expect to learn JavaScript at the beginner level in 3 to 6 months. Again, this is a rough estimate and can vary based on the time you can dedicate to learning, your learning style, and the resources you use.
🌐
Coding Temple
codingtemple.com › blog › how-long-does-it-take-to-learn-javascript
How Long Does It Take to Learn JavaScript? | Coding Temple
June 3, 2025 - For a structured path with expert guidance tailored for beginners, explore Coding Temple’s JavaScript programs. Practice Consistently: Dedicate at least 30–60 minutes a day. Learners who practice through hands-on projects can drive 30% higher rates of skill development, according to Coursera’s Drivers of Quality in Online Learning book. Build Projects Apply your learning. Start small: a to-do list, quiz app, or calculator. One of our students, with no prior experience, built a functional weather app after just a few weeks, using APIs and DOM manipulation to update data dynamically.
🌐
Quora
quora.com › How-many-days-does-Python-programming-language-take-to-learn-after-learning-JavaScript
How many days does Python programming language take to learn after learning JavaScript? - Quora
Answer (1 of 2): I think it may be one month because you already learned complexity langugaue like java script python is more flexible less complexicity in the syntax , indentication basing on your skill if you pay attention stick to it you ...
🌐
CareerFoundry
careerfoundry.com › en › blog › web-development › how-long-does-it-take-to-learn-javascript
How Long Does It Take To Learn JavaScript in 2025?
Be smart about it: the longer a technology is on the market, the safer the investment it is. Don’t rush to learn new technology—we don’t know its lifespan. Let time show you which technology is worth investing in. Time is your best advisor. Learn to wait. There is no set time frame for learning JavaScript; it all depends on your level of experience and how much time you can spare.
Published   December 2, 2022
Find elsewhere
🌐
Coursera
coursera.org › coursera articles › computer science and engineering › how long does it take to learn javascript?
How Long Does It Take to Learn JavaScript? | Coursera
September 24, 2025 - By investing consistent time, you can likely learn basic skills in JavaScript in a few weeks, though this learning time may stretch to a few months if you prefer a more casual learning style.
🌐
freeCodeCamp
forum.freecodecamp.org › t › why-should-i-learn-python-if-i-already-know-javascript › 253988
Why should I learn Python if I already know Javascript? - The freeCodeCamp Forum
January 25, 2019 - I’ve been working with javascript for a while now and I’m comfortable with it. I like all the libraries and flexibility that I have with it. (Typescript, Node, Electron, React, etc) I want to eventually start messing around with another language like Python or even Java but I’m not really ...
🌐
freeCodeCamp
forum.freecodecamp.org › t › halfway-through-python-should-i-move-to-js-or-stick-with-python › 55881
Halfway through Python, should I move to JS or stick with Python? - The freeCodeCamp Forum
November 16, 2016 - Hello. Last week I finished my first course. It was a Udacity Nanodegree (introduction to programming) It was very good. I learnt some python, functions and some (mostly theorical) OOP. After that there was a bit of front end teaser, so we learnt a bit of JS, jQuery, the usual.
🌐
Reddit
reddit.com › r/learnprogramming › realistically how long will it take to learn javascript?
r/learnprogramming on Reddit: Realistically how long will it take to learn JavaScript?
November 21, 2021 -

And after being a decent bit knowledgeable what other languages should I learn? How many would be needed to be “Job Ready” ?

side questions, whats the difference between Java and JavaScript?

Top answer
1 of 23
59
Java and JavaScript are unrelated languages. JavaScript is so named because Java was originally supposed to be the language of the web, so it’s part marketing and partly an attempt to appease the Sun execs who wanted everyone to be using Java. How long it will take to learn depends on your aptitude and focus. You can learn all the fundamentals in a couple of weeks, but like chess it can take a lifetime to master. I’m still learning new tricks 20 years after first picking it up. You can be job-ready with just JavaScript. JavaScript on the server is called Node, and it actually makes a pretty fine server architecture. Ruby is quite fun for an alternative perspective, as is Python. I don’t love Java personally, but it’s definitely worth learning. You’ll find, once you’ve learned a couple of languages, you can pick up new ones fairly easily.
2 of 23
26
Java and JavaScript are for all intents and purposes entirely different things. The naming of them is a historical artefact and nothing more; they were never related except by some vague "run this code anywhere" intentions. If you're at an employable level in other languages then you already have a great advantage in learning JS. The core CS competencies don't really change between languages, although there will be a lot of web-specific stuff to familiarize yourself with. Go check out the job listings in your target market. My guess is that most jobs are not going to be looking for pure JS devs, but rather people with experience in contemporary front-end frameworks like React/Vue/Angular. This complicates things; those frameworks are about as complex to learn as JS itself and you should not discount the time it takes to learn them if you need to. If you can devote your full-time attention to learning, I think you could build a working knowledge of JS in about a month (including a basic project to showcase your capability). If you can do 4 hours a day, perhaps two months to be safe. If you need to be able to manage frameworks as well, add another month at full time or two and part-time. These are pessimistic estimates based on my experience training web developers up for junior/intern level roles (assuming you already know how to program) so you may find yourself ready to go earlier.
🌐
Reddit
reddit.com › r/learnprogramming › after learning python, html and css to a basic level how long will take to learn js, react etc to become a front end dev?
r/learnprogramming on Reddit: After learning python, html and css to a basic level how long will take to learn js, react etc to become a front end dev?
January 9, 2023 -

Is python similar to javascript will I be able to pick up everything fairly quickly? I have been learning python for a couple of weeks now and I'm slowly gaining an understanding. I plan on sticking to learning html, css and python for a month or two more than try and learn some javascript and react, I actually first started on js but skimmed through html, css quickly and then javascript hit me pretty hard then life got in the way. So I started with python one year later and feel much better, perhaps my original approach was poor. Also eventually I was thinking about full stack so thats why I thought python was quite a good choice for back end.

Thank You.

🌐
Code Institute
codeinstitute.net › blog › how long does it take to learn javascript?
How Long Does It Take To Learn JavaScript? - Code Institute DE
September 14, 2022 - If you would like to look at a specific answer to the question, how long does it take to learn the JavaScript language, then the answer is around a month to a year. Of course, that’s an extensive range, but it all depends on how much time ...
🌐
Sololearn
sololearn.com › en › Discuss › 2910746 › how-long-does-it-take-to-learn-python-if-you-know-javascript
How long does it take to learn Python if you know JavaScript?! | Sololearn: Learn to code for FREE!
October 24, 2021 - It depends on how serious you are. Actually you can be able to understand python and some other programming language when you have knowledge of JavaScript.
🌐
Boot.dev
blog.boot.dev › javascript › how-to-learn-javascript-fast
How Long Does It Take to Learn JavaScript? (& How to Learn Fast) | Boot.dev
February 5, 2022 - Since I already knew how to program, and I was comfortable doing it in R, Python, SQL, and a bit of C, learning JavaScript didn’t take long. It took me about two weeks to get a basic mobile app up and running. It was probably about six months ...
🌐
DEV Community
dev.to › kachiic › learning-javascript-as-a-python-developer-126g
Learning Javascript as a Python Developer - DEV Community
April 26, 2023 - But if you have a good level of python, all you need to do is wrap your head around the usage as the logic is pretty much the same. The goal of this tutorial is to show you the subtle differences between python and javascript. The best way to learn is practice.
🌐
Multiverse
multiverse.io › en-US › blog › how-long-does-it-take-to-learn-javascript
How Long Does It Take To Learn JavaScript? - Multiverse
July 13, 2023 - However, like most programming languages, JavaScript can take many years to master. It’s like learning a new language. You might be able to read some Spanish and learn basic phrases in six to nine months.