diff --git a/README.md b/README.md
index c222fdd..5a4ba4d 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ It's a book about frontend interview question. We hope that it will help all jav
 
 ## Question 1. What's the difference between `undefined` and `not defined` in JavaScript
 
-### Answer
+Answer
 
 In JavaScript if you try to use a variable that doesn't exist and has not been declared, then JavaScript will throw an error `var name is not defined` and the script will stop executing thereafter. But If you use `typeof undeclared_variable` then it will return `undefined`.
 
@@ -42,6 +42,7 @@ console.log(y); // Output: ReferenceError: y is not defined
 ### Ref Link:
 [http://stackoverflow.com/questions/20822022/javascript-variable-definition-declaration](http://stackoverflow.com/questions/20822022/javascript-variable-definition-declaration)
 
+Answer
 
 `NaN <= 100` is `false` and `NaN> 100` is also `false`, so if the
 value of `x` is `NaN`, the statements are not the same.
@@ -59,9 +60,11 @@ The same holds true for any value of x that being converted to Number, returns N
 
 This is why you need to pay attention when you deal with numeric variables. `NaN` can’t be equal, less than or more than any other numeric value, so the only reliable way to check if the value is `NaN`, is to use `isNaN()` function.
 
+Answer
 
 One of the drawback of declaring methods directly in JavaScript objects is that they are very memory inefficient. When you do that, a new copy of the method is created for each instance of an object. Let's see it on example:
 
@@ -90,9 +93,11 @@ var emp3 = new Employee('Erich Fromm', 'Company 3', 1299483);
 
 Here each instance variable `emp1`, `emp2`, `emp3` has own copy of `formatSalary` method. However the `formatSalary2` will only be added once to an object `Employee.prototype`.
 
+Answer
 
 A closure is a function defined inside another function (called parent function) and has access to the variable which is declared and defined in parent function scope.
 
@@ -136,13 +141,15 @@ innerFuncVar = y
 globalVar = abc
 ```
 
+Answer
 
 Below is the code followed by the explanation of how it works:
 
@@ -165,6 +172,8 @@ In Javascript function defined inside has access to outer function variable and
 - A function can be pass as a parameter to another function
 - A function can be returned from another function
 
+Answer
 
 There are a couple of ways by which we can empty an array, So let's discuss all the possible way by which we can empty an array.
 
@@ -238,9 +247,11 @@ while(arrayList.length) {
 Above implementation can also empty the array. But not recommended to use often.
 
 
+Answer
 
 The best way to find whether an object is instance of a particular class or not using `toString` method from `Object.prototype`
 
@@ -303,6 +314,8 @@ Array.isArray(arrayList);
 `Array.isArray` is supported by Chrome 5, Firefox 4.0, IE 9, Opera 10.5 and Safari 5
 
 
+Answer
 
 The code above will output `0` as output. `delete` operator is used to delete a property from an object. Here `x` is not an object it's **local variable**. `delete` operator doesn't affect local variables.
 
 
+Answer
 
 The code above will output `1` as output. `delete` operator is used to delete a property from an object. Here `x` is not an object it's **global variable** of type `number`.
 
 
+Answer
 
 The code above will output `undefined` as output. `delete` operator is used to delete a property from an object. Here `x` is an object which has foo as a property and from a self-invoking function, we are deleting the `foo` property of object `x` and after deletion, we are trying to reference deleted property `foo` which result `undefined`.
 
 
+Answer
 The code above will output `xyz` as output. Here `emp1` object got company as **prototype** property. delete operator doesn't delete prototype property.
 
 `emp1` object doesn't have **company** as its own property. you can test it `console.log(emp1.hasOwnProperty('company')); //output : false` However, we can delete company property directly from `Employee` object using `delete Employee.company` or we can also delete from `emp1` object using `__proto__` property `delete emp1.__proto__.company`.
 
 
+Answer
 - When you run the code above and do `console.log(trees);` in chrome developer console then you will get `["redwood", "bay", "cedar", undefined ×ばつ 1, "maple"]`.
 - In the recent versions of Chrome you will see the word `empty` of `undefined x 1`.
 - When you run the same code in Firefox browser console then you will get `["redwood", "bay", "cedar", undefined, "maple"]`
@@ -385,6 +406,8 @@ Clearly we can see that Chrome has its own way of displaying uninitialized index
 
 
 
+Answer
 The code above will output `5` as output. When we used `delete` operator for deleting an array element then, the array length is not affected by this. This holds even if you deleted all elements of an array using `delete` operator.
 
 So when delete operator removes an array element that deleted element is no longer present in the array. In place of value at deleted index `undefined x 1` in **chrome** and `undefined` is placed at the index. If you do `console.log(trees)` output `["xyz", "xxxx", "test", undefined ×ばつ 1, "apple"]` in Chrome and in Firefox `["xyz", "xxxx", "test", undefined, "apple"]`.
 
 
 
+Answer
 
 The code above will output `1, "truexyz", 2, 1` as output. Here's a general guideline for the plus operator:
 - Number + Number -> Addition
@@ -420,13 +445,15 @@ The code above will output `1, "truexyz", 2, 1` as output. Here's a general guid
 
 
 
+Answer
 
 The code above will print string `"undefined"` as output. According to associativity rule operator with the same precedence are processed based on their associativity property of operator. Here associativity of the assignment operator is `Right to Left` so first `typeof y` will evaluate first which is string `"undefined"` and assigned to `z` and then `y` would be assigned the value of z. The overall sequence will look like that: 
 
@@ -438,6 +465,8 @@ z = typeof y;
 y = z;
 ```
 
+Answer
 
 The output will be `Reference Error`. To fix the bug we can try to rewrite the code a little bit: 
 
@@ -478,6 +507,8 @@ var foo = function bar() {
 // bar is undefined here
 ```
 
+Answer
 
 The main difference is that function `foo` is defined at `run-time` and is called a function expression, whereas function `bar` is defined at `parse time` and is called a function statement. To understand it better, let's take a look at the code below :
 
@@ -510,6 +541,8 @@ function bar() {
 console.log("Hi I am inside Foo");
 }
 ```
+Answer
 
 The output will be :
 ``` 
@@ -526,10 +559,11 @@ something
 ```
 Since the function is called first and defined during parse time the JS engine will try to find any possible parse time definitions and start the execution loop which will mean function is called first even if the definition is post another function.
 
-## Question 18. In which case the function definition is not hoisted in JavaScript?
+Answer
 
 Let's take the following **function expression**
 
@@ -566,6 +600,8 @@ foo = function foo() {
 foo(); // Now foo is defined here
 ```
 
+Answer
 
 The code above will output: `undefined, 5000$` because of hoisting. In the code presented above, you might be expecting `salary` to retain it values from outer scope until the point that `salary` was re-declared in the inner scope. But due to `hoisting` salary value was `undefined` instead. To understand it better have a look of the following code, here `salary` variable is hoisted and declared at the top in function scope. When we print its value using `console.log` the result is `undefined`. Afterwards the variable is redeclared and the new value `"5000$"` is assigned to it.
 
@@ -596,9 +632,11 @@ var salary = "1000$";
 })();
 ```
 
+Answer
 
 `typeof` is an operator that returns a string with the type of whatever you pass.
 
@@ -623,6 +661,8 @@ name instanceof String; // Output : true
 
 Ref Link: [http://stackoverflow.com/questions/2449254/what-is-the-instanceof-operator-in-javascript](http://stackoverflow.com/questions/2449254/what-is-the-instanceof-operator-in-javascript)
 
+Answer
 
 First of all, in case of JavaScript an associative array is the same as an object. Secondly, even though is no built-in function or property available to calculate the length/size an object, we can write such function ourselves.
 
@@ -676,7 +716,12 @@ _.size({one: 1, two: 2, three: 3});
 => 3
 ```
 
+Answer
+
 If your are familiar with Object-oriented programming, More likely familiar to thinking of functions, methods, and class constructors as three separate things. But In JavaScript, these are just three different usage patterns of one single construct.
 
 functions : The simplest usages of function call:
@@ -731,6 +776,8 @@ Unlike function calls and method calls, a constructor call `new Employee('John D
 The primary role of the constructor function is to initialize the object.
 
 
+Answer
 
 The output of above code would be `"USA"`. Here `new User("xyz")` creates a brand new object and created property `location` on that and `USA` has been assigned to object property location and that has been referenced by the person.
 
@@ -763,9 +810,11 @@ foo["location"] = "USA";
 ```
 
 
+Answer
 
 It’s a technology that allows your web application to use cached resources first, and provide default experience offline, before getting more data from the network later. This principle is commonly known as Offline First.
 
@@ -773,7 +822,12 @@ Service Workers actively use promises. A Service Worker has to be installed,acti
 
 As of 2017, Service Workers are not supported in IE and Safari.
 
+Answer
+
 In JS, that difference is quite subtle. A function is a piece of code that is called by name and function itself not associated with any object and not defined inside any object. It can be passed data to operate on (i.e. parameter) and can optionally return data (the return value).
 
 ```javascript
@@ -857,8 +911,11 @@ obj1.myMethod(); // will print "Hi there" following with obj1.
 
 ```
 
+Answer
+
 #### Definition
 IIFE a function that runs as soon as it's defined. Usually it's anonymous (doesn't have a function name), but it also can be named. Here's an example of IIFE:
 
@@ -923,8 +980,10 @@ Variables and functions that you declare inside an IIFE are not visible to the o
 code, it helps to prevent polluting the global scope and provide the module interface to the outside.
 
 
+Answer
 
 The singleton pattern is an often used JavaScript design pattern. It provides a way to wrap the code into a logical unit that can be accessed through a single variable. The Singleton design pattern is used when only one instance of an object is needed throughout the lifetime of an application. In JavaScript, Singleton pattern have many uses, they can be used for NameSpacing, which reduce the number of global variables in your page (prevent from polluting global space), organizing the code in a consistent manner, which increase the readability and maintainability of your pages.
 
@@ -1027,9 +1086,11 @@ console.log(MyNamespace.Singleton.getInstance().publicMethod());
 
 The singleton implemented above is easy to understand. The singleton class maintains a static reference to the lone singleton instance and return that reference from the static getInstance() method.
 
+Answer
 
 #### Method 1: Function based
 
@@ -1095,12 +1156,14 @@ employee.getName = function(){
 
 `Object.create(obj)` will create a new object and set the `obj` as its prototype. It’s a modern way to create objects that inherit properties from other objects. `Object.create` function doesn’t run the constructor. You can use `Object.create(null)` when you don’t want your object to inherit the properties of `Object`.
 
+Answer
 
 ```javascript
 function deepClone(object){
@@ -1133,8 +1196,12 @@ var personalDetail = {
 ```
 So when we do deep clone then we should copy every property (including the nested object).
 
+Answer
+
> Suppose we have given an object `person`
 
 ```javascript
@@ -1161,6 +1228,8 @@ if(typeof person.salary === 'undefined'){
 	console.log("salary is undefined here because we haven't declared");
 }
 ```
+Answer
 
 ```javascript
 function Clone(object){
@@ -1181,8 +1250,12 @@ function Clone(object){
 }
 ```
 
+Answer
+
 We use promises for handling asynchronous interactions in a sequential manner. They are especially useful when we need to do an async operation and THEN do another async operation based on the results of the first one. For example, if you want to request the list of all flights and then for each flight you want to request some details about it. The promise represents the future value. It has an internal state (`pending`, `fulfilled` and `rejected`) and works like a state machine.
 
 A promise object has `then` method, where you can specify what to do when the promise is fulfilled or rejected.
@@ -1196,8 +1269,12 @@ Also mention that you know about more sophisticated concepts:
 Be sure that you can implement the promise, read [one of the articles on a topic](https://opensourceconnections.com/blog/2014/02/16/a-simple-promise-implementation-in-about-20-lines-of-javascript/), and learn the source code of the [simplest promise implementation](https://gist.github.com/softwaredoug/9044640). 
 
 
+Answer
+
 Let say we have `person` object with property **name** and **age**
 
 ```javascript
@@ -1233,7 +1310,12 @@ console.log(person.hasOwnProperty('name')); // print true
 console.log(person.hasOwnProperty('salary')); // print false
 ```
 
+Answer
+
 `NaN` stands for "not a number." and it can break your table of numbers when it has an arithmetic operation that is not allowed. Here are some examples of how you can get `NaN`:
 
 ```javascript
@@ -1255,6 +1337,8 @@ To check if the current value of the variable is NaN, you have to use the `isNaN
 
 Further reading: [great blogpost on ariya.io](https://ariya.io/2014/05/the-curious-case-of-javascript-nan)
 
+Answer
+
 For ES6, you can just replace `var i` with `let i`. 
 
 For ES5, you need to create a function scope like here:
@@ -1291,8 +1377,12 @@ arr.forEach(function(ele, i) {
 })
 ```
 
+Answer
+
 We always encounter in such situation where we need to know whether value is type of array or not.
 
 For instance : the code below perform some operation based value type
@@ -1382,8 +1472,12 @@ function isArray(value) {
 }
 ```
 
+Answer
+
 In Javascript Object are called as reference type, Any value other then primitive is definitely a reference type. There are several built-in reference type such as **Object**, **Array**, **Function**, **Date**, **null** and **Error**.
 
 Detecting object using `typeof` operator
@@ -1424,8 +1518,12 @@ console.log(emp1 instanceof Employee); // true
 console.log(emp1 instanceof Object); // true
 ```
 
+Answer
+
 The ECMAScript 5 **Object.create()** method is the easiest way for one object to inherit from another, without invoking a constructor function. 
 
 **For instance:** 
@@ -1473,8 +1571,12 @@ In the example above, `emp1` is created with it's own value for name, so calling
 
 Object created in this manner give you full control over newly created object. You are free to add, remove any properties and method you want.
 
+Answer
+
 Let say we have `Person` class which has name, age, salary properties and **incrementSalary()** method.
 
 ```javascript
@@ -1532,8 +1634,12 @@ console.log(name in obj); // true
 ```
 Type-based inheritance is best used with developer defined constructor function rather than natively in JavaScript. In addition to this also allows flexibility in how we create similar type of object.
 
+Answer
+
 ECMAScript 5 introduce several methods to prevent modification of object which lock down object to ensure that no one, accidentally or otherwise, change functionality of Object.
 
 There are three levels of preventing modification: 
@@ -1642,9 +1748,13 @@ delete employee.name; // fails silently unless it's in strict mode
 ``` 
 
 
-## Question 44. Write a log function which will add prefix `(your message)` to every message you log using console.log ? 
+Answer
+
 Logging error message or some informative message is always required when you dealing with client side JavaScript using console.log method. Some time you want to add some prefix to identify message generated log from your application hence you would like to prefix your app name in every console.log. 
 
 A general way to do this keep adding your app name in every console.log message like 
@@ -1667,7 +1777,9 @@ appLog("Some error message");
 //output of above console: 'your app name Some error message'
 ```
 
-## Question 45 . Write a function which will test string as a literal and as an object ?
+Answer
+
 We can use typeof operator to test string literal and instanceof operator to test String object.
 
 ```javascript
@@ -1689,7 +1804,11 @@ For example: We can create string using string literal and using String construc
 console.log(isString(ltrlStr)); // true
 console.log(isString(objStr)); // true
 ``` 
-## Question 46 . What is typical use case for anonymous function in JavaScript ?
+Answer
 
 Anonymous functions basically used in following scenario.
 
@@ -1752,7 +1871,11 @@ If your answer is yes then go and create named function rather anonymous functio
 1. It can reduce a bit of code, particularly in recursive function and in callback function.
 2. Avoid needless global namespace pollutions.
 
-## Question 47 . How to set a default parameter value ?
+Answer
 
 If you are coming from python/c# you might be using default value for function parameter incase value(formal parameter) has not been passed. For instance : 
 
@@ -1832,7 +1955,9 @@ sentEmail({
 }, 'Yahoo Mail');
 ```
 
-## Question 48. Write code for merge two JavaScript Object dynamically.
+Answer
+
 ```javascript
 merge(person , address); 
 
@@ -1879,7 +2006,11 @@ function merge(toObj, fromObj) {
 }
 }
 ```
-## Question 49. What is non-enumerable property in JavaScript and how you can create one?
+Answer
 
 Object can have properties that don't show up when you iterate through object using for...in loop or using Object.keys() to get an array of property names. This properties is know as non-enumerable properties.
 
@@ -1925,7 +2056,11 @@ person.phoneNo = '7777777777';
 
 **Object.defineProperty()** also lets you create read-only properties as we saw above, we are not able to modify phoneNo value of a person object. This is because descriptor has **writable** property, which is `false` by default. Changing non-writable property value will return error in strict mode. In non-strict mode it won't through any error but it won't change the value of phoneNo.
 
-## Question 50. What is Function binding ?
+Answer
 
 Function binding falls in advance JavaScript category and this is very popular technique to use in conjunction with event handler and callback function to preserve code execution context while passing function as a parameter.
 
@@ -1965,6 +2100,7 @@ btn.addEventListener('click', clickHandler.handleClick.bind(clickHandler));
 
 `bind` method is available to all the function similar to call and apply method which take argument value of `this`.
 
+Answer
+
+The output will be `'hi there'` because we're dealing with strings here. Strings are 
 passed by value, that is, copied. 
- 
-### 2. What would be the output of following code?
+
+Answer
+
+The output will be `{prop1: 90}` because we're dealing with objects here. Objects are 
 passed by reference, that is, `objA` and `objB` point to the same object in memory. 
 
-### 3. What would be the output of following code?
+Answer
+
+The output will be `{prop1: 42}`. 
 
 When we assign `objA` to `objB`, the `objB` variable will point
 to the same object as the `objB` variable.
@@ -2012,7 +2160,9 @@ to the same object as the `objB` variable.
 However, when we reassign `objB` to an empty object, we simply change where `objB` variable references to.
 This doesn't affect where `objA` variable references to. 
 
-### 4. What would be the output of following code?
+Answer
+
 The output will be `[42,1,2,3,4,5]`. 
 
 Arrays are object in JavaScript and they are passed and assigned by reference. This is why
 both `arrA` and `arrB` point to the same array `[0,1,2,3,4,5]`. That's why changing the first
 element of the `arrB` will also modify `arrA`: it's the same array in the memory.
 
-### 5. What would be the output of following code?
+Answer
+
 The output will be `[0,1,2,3,4,5]`. 
 
 The `slice` function copies all the elements of the array returning the new array. That's why
 `arrA` and `arrB` reference two completely different arrays. 
 
-### 5. What would be the output of following code?
+Answer
+
 The output will be `[{prop1: 42}, {someProp: "also value of array A!"}, 3,4,5]`. 
 
 Arrays are object in JS, so both varaibles arrA and arrB point to the same array. Changing
 `arrB[0]` is the same as changing `arrA[0]`
 
+Answer
+
 The output will be `[{prop1: 42}, {someProp: "also value of array A!"}, 3,4,5]`. 
 
 The `slice` function copies all the elements of the array returning the new array. However,
@@ -2088,6 +2254,7 @@ two elements.
 
 This is why changing the property of `arrB[0]` in `arrB` will also change the `arrA[0]`.
 
+Answer
 
-### 2. What would be the output of following code?
+ 4) ReferenceError: employeeId is not defined 
+
+Answer
+
+ 2) undefined 
+
+Answer
+
+ 2) undefined 
+
+Answer
+
+ 2) undefined 
+
+Answer
+
+ 1) undefined 
+
+Answer
+
+ 2) '123bcd' 
+
+Answer
+
+ 3) 'abc123' 
+
+Answer
+
+ 2) 'function'
+
+Answer
+
+ 1) undefined
+
+Answer
+
+ 3) function function
+
+Answer
+
+ 3) ["name", "salary", "country", "phoneNo"]
+
+Answer
+
+ 4) ["name", "salary", "country"]
+
+Answer
+
+ 2) false false
+
+Answer
+
+ 2) false false
+
+Answer
+
+ 2) false false
+
+Answer
+
+ 2) false false
+
+Answer
+
+ 4) true true
+
+Answer
+
+ 3) true true true true
+
+Answer
+
+ 2) bar bar
+
+Answer
+
+ 3) foo foo
+
+Answer
+
+ 2) undefined undefined
+
+Answer
+
+ 3) ["100"] 1
+
+Answer
+
+ 1) [] [] [Array[5]] 1
+
+Answer
+
+ 1) 11
+
+Answer
+
+ 3) 6
+
+Answer
+
+ 1) [ 'dog', 'rat', 'goat', 'cow', 'horse', 'cat' ]
+
+Answer
+
+ 1) 1 -1 -1 4
+
+Answer
+
+ 2) 1 6 -1
+
+Answer
+
+ 3) [ 2, 4, 8, 12, 16 ] true 
+
+Answer
+
+ 1) [ 2, '12', true ]
 			 [ 2, '12', true ]
 			 [ 2, '12', true ]
 			 [ 2, '12', true ]
 			 
+Answer
+
+ 1) [ 'bar', 'john', 'ritz' ]
 		 	 [ 'bar', 'john' ]
 [ 'foo', 'bar', 'john', 'ritz' ]
 []
 [ 'foo', 'bar', 'john', 'ritz' ]		
 
+Answer
+
+ 1. [ 'bar', 'john' ] [] [ 'foo' ] 
+
+Answer
+
+ 3. [ 15, 16, 2, 23, 42, 8 ]
+
+Answer
+
+ 1) 
+
+Answer
+
+ 4) undefined true
+
+Answer
+
+ 1) Hello
+
+Answer
+
+ 3) undefined
 	
+Answer
+
+ 2) 'Hello'
+
+Answer
+
+ 3) undefined
+
+Answer
+
+ 2) 'Hi John'
+
+Answer
+
+ 2) 'Hi John'
+
+Answer
+
+ a) 2 2 2 
+
+Answer
+
+ 2) 0 2 4 
+
+Answer
+
+ 1) John Person 
+
+Answer
+
+ 3) 12345678 undefined 
+
+Answer
+
+ 4) undefined 
+
+Answer
+
+ 2) bq1uy 1BJKSJ bq1uy 
+
+Answer
+
+ 1) foo123 aq123 
+
+Answer
+
+ 4) [ 'W', 'o', 'r', 'l', 'd' ] 
+
+Answer
+
+ 1) Total amount left in account: 5600 Total amount left in account: 5300 
+
+Answer
+
+ 1) 5600 5300 5100
+
+Answer
+
+ 2) 3600 3300 3100
+
+Answer
+
+ 1) Hello John
+
+Answer
+
+ 1) John
+
+Answer
+
+ 1) [ 2, 8, 15, 16, 23, 42 ]
 			 [ 2, 8, 15, 16, 23, 42 ]
 			 [ 2, 8, 15, 16, 23, 42 ]
+
+Answer
+
+ 4) Uncaught TypeError: Cannot read property 'fullName' of undefined
+
+Answer
+
+ 1) 5
+
+Answer
+
+ 2) undefined
+
+Answer
+
+ 1) 6, 10
+
+Answer
+
+ 1) 6, 10
+
+Answer
+
+ 1) 720
+
+Answer
+
+ 2) Tony undefined
 
 Explaination: **getName1()** function works fine because it's being called from ***personObj***, so it has access to *this.name* property. But when while calling **getnName2** which is defined under *Object.prototype* doesn't have any proprty named *this.name*. There should be *name* property under prototype. Following is the code:
 
@@ -3490,6 +3903,7 @@ Object.prototype.name="Steve";
 personObj.getName2();
 ```
 
+