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 |
Blobs are immutable objects that represent unprocessed data. The file is a Blob derived from data from the file system. Blobs allow us to create file-like objects on the client that we may transfer to APIs, and these APIs expect URLs rather than needing the...
5 min read
? 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
String manipulation is easy to learn but most difficult to master of it in JavaScript. Earlier, multi-line string was not supported by JavaScript. After 2015, string literals have introduced by ES6 (ECMAScript 6) that supports multi-line string. Now, there are several ways to handle multi-line string....
5 min read
JS First Class Function JavaScript is a dynamic scripting language that allows us to use it in the form of an object-oriented style or functional style. In the same way, one such feature of JavaScript is the First class function. In this section, we will discuss the...
4 min read
You must have noticed the efficiency of the web application's functionalities or how web applications handle user events. or JavaScript Throttle concept provides the mechanism to improve the performance and speed of the application. The throttling mechanism is also known as throttle method is a...
8 min read
It's a typical hard to replace strings in JavaScript. Using the string.replace() technique to change every appearance can still be challenging. Eliminating all whitespace might be laborious when it comes to line breaks and tabs. Regex expressions are fortunately supported by JavaScript's string.replace() function. The method...
3 min read
Sibling Property in Javascript The Sibling property gets the node of the given node as a Node object. If the given node is the last item in the list, then the node object gets null. The Sibling property shows the element that came before the...
5 min read
What is "Vanilla JavaScript"? The term vanilla script is used to refer to the pure JavaScript (or we can say plain JavaScript) without any type of additional library. Sometimes people often used it as a joke. Nowadays several things can also be done without using any...
3 min read
? A JavaScript function is a block of code that consists of a set of instructions to perform a specific task. A function can also be considered as a piece of code that can be used over again and again in the whole program, and it...
5 min read
The ability to track DOM tree modifications is provided via the MutationObserver interface. It is intended to take the place of the ious Mutation Events functionality, which was included in the DOM3 Events definition. The DOM can often change in complex web projects. Because of this,...
7 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