What is variable typing in JavaScript?
Submitted by: AdministratorIt is perfectly legal to assign a number to a variable and then assign a string to the same variable as follows
example
i = 10;
i = "string";
This is called variable typing
Submitted by: Administrator
example
i = 10;
i = "string";
This is called variable typing
Submitted by: Administrator
Read Online JavaScript Job Interview Questions And Answers
Top JavaScript Questions
☺ | How to convert numbers to strings using JavaScript? |
☺ | How to determine the state of a checkbox using JavaScript? |
☺ | Are Java and JavaScript the Same? |
☺ | How to convert a string to a number using JavaScript? |
☺ | How to get the contents of an input box using JavaScript? |
Top Top World Wide Web Categories
☺ | Cascading Style Sheet CSS Interview Questions. |
☺ | HTML5 Interview Questions. |
☺ | Basic Internet Interview Questions. |
☺ | Domain Name System (DNS) Interview Questions. |
☺ | JavaScript Interview Questions. |