1.

What are the limitations of JavaScript?

Answer»

Yes, JavaScript is case-sensitive. Therefore, the following identifiers are DIFFERENT:

Knowledge KNOWLEDGE

The case-sensitivity feature remains the same for variables, function names, and any other identifiers. The consistent capitalization of LETTERS should be considered. For example, “for loop” should be written as “for”, not “FOR” or “For”.

Let us see an example wherein we have three variables with different case. All of these 3 variables are considered different:

<!DOCTYPE html> <html> <body> <h3>Popular Programming Languages</h3> <p id="test"></p> <script>  var language, LANGUAGE, Language;  language = "C#";  LANGUAGE = "Java";  Language = "Python";  document.getElementById("test").innerHTML = LANGUAGE; </script> </body> </html>

The OUTPUT:



Discussion

No Comment Found