Datatype Conversion

JS is a dynamically typed language. we don't need to specify data type of a variable when you declare it, and data types are converted automatically.

var post = 10;
The value can be reassigned as a string to the same variable, it will not cause any error message.
post = "blog"'

No comments:

Post a Comment

Overview of AngularJS

AngularJS is an open source web application framework. It is now maintained by Google . The most of the code can be eliminated by using th...