1 Réponse
+ 2
Both!
1) JavaScript:
Now, (2015) ES6 has features similar to Python.
i) for of loop
ii) forEach method
iii) rest parameter and spread operator
iv) `${expression}` and auto called functions
v) array destructing and object destructing like tuple unpacking, also for swapping values' age old trick
vi) whole map thing
2) Java:
They both are hard (not meaning difficulty of coding) programming languages. They both have a great deal of modules, prebuilt libraries.
They are used for efficient programming, JavaScript isn't used in higher level projects.
Much more will come, I need some time😃