You are viewing a single comment's thread. Return to all comments →
function reverseString(s) { try{ let reversed = s.split("").reverse().join("") console.log(reversed); } catch (e){ console.log(e.message); console.log(s); } }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 3: Try, Catch, and Finally
You are viewing a single comment's thread. Return to all comments →