diff --git a/README.md b/README.md
index edadf62e6..1931813b8 100644
--- a/README.md
+++ b/README.md
@@ -131,7 +131,7 @@ average(1, 2, 3);
* [`join`](#join)
* [`last`](#last)
* [`longestItem`](#longestitem)
-* [`mapObject`](#mapobject)
+* [`mapObject`](#mapobject-)
* [`maxN`](#maxn)
* [`minN`](#minn)
* [`nthElement`](#nthelement)
@@ -1590,7 +1590,7 @@ longestItem([1, 2, 3], 'foobar'); // 'foobar'
[⬆ Back to top](#table-of-contents)
-### mapObject
+### mapObject 
Maps the values of an array to an object using a function, where the key-value pairs consist of the original value as the key and the mapped value.
diff --git a/docs/index.html b/docs/index.html
index 5011e05cf..1282dc6f3 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -50,7 +50,7 @@
scrollToTop();
}
}, false);
- }
30 seconds of code Curated collection of useful JavaScript snippets that you can understand in 30 seconds or less.
Adapter
ary
Creates a function that accepts up to n arguments, ignoring any additional arguments.
Call the provided function, fn, with up to n arguments, using Array.slice(0,n) and the spread operator (...).
Maps the values of an array to an object using a function, where the key-value pairs consist of the original value as the key and the mapped value.
Use an anonymous inner function scope to declare an undefined memory space, using closures to store a return value. Use a new Array to store the array with a map of the function over its data set and a comma operator to return a second step, without needing to move from one context to another (due to closures and order of operations).
constmapObject=(arr, fn)=>
+
mapObjectadvanced
Maps the values of an array to an object using a function, where the key-value pairs consist of the original value as the key and the mapped value.
Use an anonymous inner function scope to declare an undefined memory space, using closures to store a return value. Use a new Array to store the array with a map of the function over its data set and a comma operator to return a second step, without needing to move from one context to another (due to closures and order of operations).