Does Javascript have anything to do with c++ ,because the syntax is quite similar? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Does Javascript have anything to do with c++ ,because the syntax is quite similar?

11th Sep 2018, 12:53 PM
M_HB
M_HB - avatar
2 Answers
+ 6
I don't think so because c++ is a programming language while JavaScript is a scripting language for web based application. The amazing thing about c++ is that it's syntax is similar to many programming language like c,JavaScript,php,c# and many more. In short, learning c++ means learning every language.
11th Sep 2018, 1:08 PM
Alpha Rays
Alpha Rays - avatar
+ 14
JS isn't just a scripting language anymore (Python is). JS is a full development language built in C++.
11th Sep 2018, 1:30 PM
Valen.H. ~
Valen.H. ~ - avatar