Skip to content

Commit 7e1cd2e

Browse files
authored
Removal of Duplicate content from basic interview questions section (sumn2u#179)
* added content to interview questions basic and advanced section * reolved conflicts && removed yarn.lock and package-lock.json * I have added some more questions in basci level of Interview Questions * added some questions in basic and advanced level of interview questions * added some intermediate level questions to interview questions section * removed duplicate content from the basic interview questions
1 parent ac17cb5 commit 7e1cd2e

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

en/interview-questions/basic-level.md

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -780,49 +780,6 @@ class Person {
780780
var object = new Person("Sudheer");
781781
```
782782

783-
## 6.Miscellaneous
784-
785-
### 6.1. What is a strict mode in JavaScript ?
786-
787-
**Answer:**
788-
789-
Strict Mode is a new feature in ECMAScript 5 that allows you to place a program, or a function, in a "strict" operating context. This way it prevents certain actions from being taken and throws more exceptions. The literal expression "use strict"; instructs the browser to use the javascript code in the Strict mode.
790-
791-
### 6.2. What is null value in JavaScript ?
792-
793-
**Answer:**
794-
795-
The value null represents the intentional absence of any object value. It is one of JavaScript's primitive values. The type of null value is object. You can empty the variable by setting the value to null.
796-
797-
```js
798-
var user = null;
799-
console.log(typeof user); //object
800-
```
801-
802-
### 6.3. What is eval in JavaScript ?
803-
804-
**Answer:**
805-
806-
The eval() function evaluates JavaScript code represented as a string. The string can be a JavaScript expression, variable, statement, or sequence of statements.
807-
808-
```js
809-
console.log(eval("1 + 2")); // 3
810-
```
811-
812-
### 6.4. Is JavaScript a compiled or interpreted language ?
813-
814-
**Answer:**
815-
816-
JavaScript is an interpreted language, not a compiled language. An interpreter in the browser reads over the JavaScript code, interprets each line, and runs it. Nowadays modern browsers use a technology known as Just-In-Time (JIT) compilation, which compiles JavaScript to executable bytecode just as it is about to run.
817-
818-
### 6.5. Is JavaScript a case-sensitive language ?
819-
820-
**Answer:**
821-
822-
Yes, JavaScript is a case sensitive language. The language keywords, variables, function & object names, and any other identifiers must always be typed with a consistent capitalization of letters.
823-
824-
825-
826783
## 6.Miscellaneous
827784

828785
### 6.1. What is a strict mode in JavaScript ?

0 commit comments

Comments
 (0)