diff --git a/session1/index_extra.js b/session1/index_extra.js index 5c36e0f4..02533945 100644 --- a/session1/index_extra.js +++ b/session1/index_extra.js @@ -4,6 +4,12 @@ // ex. reverseString('hello') === 'olleh' function reverseString(str) { + + // CONTRIBUTED SOLUTION + // By Mateus Kuritza + // return str.split("").reverse().join(""); + // ================= + // CONTRIBUTED SOLUTION // let arr = [...str]; // let newArr = arr.map((_, i, arr) => {