From 4b04bd6d8dc3c9b0065d3a4cdd799f7746af6382 Mon Sep 17 00:00:00 2001
From: Madhurima Chakraborty <56744323+MadhuNimmo@users.noreply.github.com>
Date: Sat, 3 Oct 2020 00:26:36 -0400
Subject: [PATCH 1/2] Create a function using Function constructor

How to create a function using constructor
---
 README.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/README.md b/README.md
index c417bad..fb66f16 100644
--- a/README.md
+++ b/README.md
@@ -39,6 +39,8 @@
 |33 | [replaceAll](#replaceAll)|
 |34 | [Required Function Params](#Required-Function-Params)|
 |35 | [Get input value as a number](#Get-input-value-as-a-number)|
+|36 | [Creating a function using Function constructor](#Create-Function-Using-Constructor)|
+
 
 
 
@@ -753,4 +755,16 @@ function checkMyType(event){
 
 }
 
+```
+
+**[⬆ Back to Top](#table-of-contents)**
+### Create a function using Function constructor
+```javascript
+function bar() {
+        return new Function('return "x"'); 
+    };
+var x = bar();
+x();//returns x
+
+
 ```

From bffd4ed506abe3937853ca3564b076cc7cfc85f3 Mon Sep 17 00:00:00 2001
From: Madhurima Chakraborty <56744323+MadhuNimmo@users.noreply.github.com>
Date: Sat, 3 Oct 2020 00:27:28 -0400
Subject: [PATCH 2/2] Fix create-a-function-using-function-constructor

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index fb66f16..4f64934 100644
--- a/README.md
+++ b/README.md
@@ -39,7 +39,7 @@
 |33 | [replaceAll](#replaceAll)|
 |34 | [Required Function Params](#Required-Function-Params)|
 |35 | [Get input value as a number](#Get-input-value-as-a-number)|
-|36 | [Creating a function using Function constructor](#Create-Function-Using-Constructor)|
+|36 | [Creating a function using Function constructor](#create-a-function-using-function-constructor)|