Browsed by
Tag: CSS Questions Asked in Companies

Where are cookies actually stored on the hard disk?

Where are cookies actually stored on the hard disk?

This depends on the user’s browser and OS. In the case of Netscape with Windows OS,all the cookies are stored in a single file called cookies.txt c:\Program Files\Netscape\Users\username\cookies.txt In the case of IE,each cookie is stored in a separate file namely username@website.txt. c:\Windows\Cookies\username@Website.txt In web development interviews, when asked about where cookies are actually stored on the hard disk, the correct answer would be: “Cookies are not directly stored on the hard disk. Instead, they are stored as small text files…

Read More Read More

What does undefined value mean in javascript?

What does undefined value mean in javascript?

Undefined value means the variable used in the code doesnt exist or is not assigned any value or the property doesnt exist. In JavaScript, undefined is a primitive value that is automatically assigned to variables that have been declared but not initialized with a value. It indicates that a variable has been declared but has not been assigned any value explicitly. Here’s a breakdown: Declared but Uninitialized Variables: When a variable is declared but not assigned a value, it automatically…

Read More Read More

What is === operator ?

What is === operator ?

=== is strict equality operator ,it returns true only when the two operands are having the same value without any type conversion. In JavaScript, the === operator is called the “strict equality operator.” It compares two values, checking both their value and their data type to determine if they are equal. Here’s how it works: If the types of the two values being compared are different, === returns false without any type conversion. If both values are of the same…

Read More Read More