UrbanPro

Learn Java Script Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

How can I learn JavaScript if I have been a C++ developer all my life?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

IT Professional Trainer with 15 years of experience in IT Industry

Start with hello world. Use Node to run your JavaScript programs. Ideally, use Jasmine to write test harnesses. Here's a heads-up: It's not OO like you know itIt has no private keyword: you use function closures to do thisThere are no classes, except in ES6. They are not totally the same as C++ classesThe...
read more

Start with hello world.

Use Node to run your JavaScript programs. Ideally, use Jasmine to write test harnesses.

Here's a heads-up:

It's not OO like you know it
It has no private keyword: you use function closures to do this
There are no classes, except in ES6. They are not totally the same as C++ classes
The 'this' pointer can be reassigned. It has different rules to those in C++
Variables declared with var do not have block scope like in C++, and their type can be changed at will
Type coercion rules are woolly
== tests for 'roughly equals' You need === for exact checks
null, undefined, zero and NaN differ in behaviour
Exceptions are untyped. There are no destructors
It's memory managed, new does not need delete
delete exists but is not the same as in C++
There are no collection classes.
There are a lot of callbacks
Functions are JavaScript objects, and this is really good. Functions start a closure which is a unit of scope and encapsulation
There are three ways to make an object
Objects have prototypes, and inheritance is done that way
There are no interfaces. You call methods and they either work or fail

read less
Comments

JavaScript is really easy you just need to have a look at the syntax and I am sure you understand it if you have good hands in C++. Even popular runtime environment like node js uses C++ as the core.
Comments

Related Questions

How Java is different from Java script?
Java is server side language is used to make application. Java is need to compile. The end user can not see the code of java it is secured. But Javascript is script language is a open source can be viewed by end user in browser.
Samadhan
How do I become better at JavaScript?
Go through JavaScript tutorials from w3schools.com site. They have good examples with description. Then learn some es6 and es7 syntax. You will be pro in JavaScript.
Pooja
0 0
5

What is an Array?

An array is a collection of (same or different type of) items.In Java and C#, etc., the elements inside the array should be of the same type (e.g. ) while in languages like JavaScript and Python. The elements can be different types also(e.g. )
M
I know HTML, CSS, and a bit of JavaScript. What should I learn next?
HTML,CSS and Javascript are Tools which are used for Front-End Web Development. The next step is to learn the following: 1)Learn Javascript Frameworks like node.js,react.js,angular.js etc. 2)Learn Back-End...
Inch By
What is the best way to learn JavaScript?
Three resources I would suggest to have handy while learning JS are: 1. JavaScript MDN 2. You Don't Know JS Book Series 3. javascript.info
Umamahesh
0 0
5

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons


Some good resources
Clean Code by Robert C Martin, is available in my profile please download and read it, irrespective of what language you code in, it will change the way you code. Also if you code in Javascript read https://12factor.net/ https://blog.risingstack.com/javascript-clean-coding-best-practices-node-js-at-scale/ For...

Dependency Injection in Angular 2
Dependency injection Dependency injection is a way to supply a new instance of a class with the fully-formed dependencies it requires. Most dependencies are services. Angular uses dependency injection...

Javascript basic Interview Questions
Check below logical operators var a = false && 'Cat'; false var b = 'Cat' && 'Dog'; dog var c = 'Cat' || 'Dog'; cat var d = !true; false var e = !false; false what are...

Java Interview Questions & Answers
Java Interview Questions have been designed especially to get you acquainted with the nature of questions you may encounter during your interview for the subject of Java Programming Language. As per my...

Recommended Articles

Here are the top 6 must have skills for every Web Designer : Technical Skills Web designers undoubtedly require very strong technical skills. They must have hands on using Web designing software and tools, such as Adobe Dreamweaver, Fireworks, Photoshop, Flash etc. In addition to the knowledge of design...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Looking for Java Script Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for Java Script Training Classes?

The best tutors for Java Script Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Java Script Training with the Best Tutors

The best Tutors for Java Script Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more