top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How Java Script is a loosely typed language?

+3 votes
406 views
How Java Script is a loosely typed language?
posted Jan 29, 2014 by Atul Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

JavaScript is a loosely typed language, which means you do not declare the data types of variables explicitly. In many cases JavaScript performs conversions automatically when they are needed. For example, if you add a number to an item that consists of text (a string) then the number is converted to text.

By the way this is true for most scripting languages.

answer Jan 29, 2014 by Salil Agrawal
Similar Questions
0 votes

I need to execute some function while pasting in web page. Can any tell me to solve this issue?This can be possible in Java Script or Jquery?

0 votes

Please give the example for both.

+1 vote

Please provide some sample code.I need to take copied data's from clipboard .Any one help me to solve this .

...