Is JavaScript case sensitive?17 Mar 2025 | 1 min read Yes, it is a case sensitive language, which means the identifiers, keywords, variables, and function names must be written with a consistent capitalization of letters. Like many other programming languages, JavaScript has a set of rules for writing JavaScript programs or codes. Using the correct capitalization for naming keywords, identifiers, functions, and variables is one of them that must be followed. What does it really mean? It means that if you have created a variable named "temp" and while printing the value of this variable, you will write "Temp" instead of "temp", it will not work properly and somehow will generate an error. We can understand it more clearly with the help of an example: Program Explanation of program In the above program, we created two variables Marks and marks and assigned them 0,100 values. When printing the value of the variable "marks" it will print 100 instead of 0, because, in JavaScript, marks and Marks are not the same thing even if both variables are spelled the same. Output ![]() Next TopicHow does JavaScript Work |
? A JSON refers to the JavaScript Object Notation format used to store simple objects and data structures. Usually, JSON files are backup files, which is used to take backup of data that restored back to the application when needed. In early days, JSON files was used...
8 min read
Lookahead patterns enable JavaScript to move forward through the string to search for specified patterns. Lookaround is a combined expression of Lookahead and Lookbehind. We can only capture a specific group using lookaheads if they arrive before another group of characters. This is useful when...
4 min read
? JavaScript can be used to create a client-side image map. An image map is an image on the webpage that has multiple links to other pages. These links are called hotspots. An image map is used to navigate different links to other pages or on...
3 min read
Concept Design patterns can be termed as well-documented solutions to the most commonly occurring problems in software engineering. It turns quite hectic for developers to bang out their heads on the problem that someone else has already solved. Every developer aspires to write industrial-level code that...
9 min read
Introduction: JavaScript objects are made up of properties, which are just key-value pairs. In essence, properties consist of a pair of keys and values that can represent any type of entity. Even functions have the ability to function as a value or a key in any...
3 min read
JavaScript confirm method invokes a function that asks the user for a confirmation dialogue on a particular action. The confirm () method uses a window object to invoke a dialogue with a question and two option buttons, OK and Cancel. If the user selects the...
3 min read
JavaScript allows us to add special characters to a text String using a backslash (\) sign. We can add different types of special characters, including the single quote, double quote, ampersand, new line, tab, backspace, form feed, etc., using the backslash just before the characters. The...
2 min read
CSV files are an essential part of computer science when you work with websites and databases. There might be some cases when the user has some data in the browser that you want to let them download this data. In that case, CSV files help...
6 min read
In JavaScript, Infinity is a special number with an intriguing property: greater than any finite number. We might be amazed at how infinite numbers operate in conditional statements and arithmetic operations. This operation works if we don't know the properties of Infinity beforehand. Let's look at...
6 min read
The javascript prepend() method adds a set of array node objects or DOMString objects before the first child of an html parent node. There are two ways to use the javascript prepend method with the parent node. Using the prepend() method to prepend node Using the prepend()...
4 min read
We request you to subscribe our newsletter for upcoming updates.
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India