JavaScript General - What is variable typing in JavaScript?
Interview Question Database For Software Developers
|
|
| What is variable typing in JavaScript? | | What is variable typing in JavaScript? | | By: |
It is perfectly legal to assign a number to a variable and then assign a string to the same variable
as in the following example:
i = 10;
i = "string";
This is called variable typing
| | ID: 2164 | Rank: 595 | Votes: 0 | Views: 131 | Submitted: 20081125 |
Copyright © 2009 FYIcenter.com
All rights in the contents of this Website are reserved by the individual author.
No part of the contents may be reproduced in any form without author's permission.
|
|
|