In JavaScript Show Longest Word in a String
Posted on November 28, 2017 in Algorithms, JavaScript, Regular Expressions by Matt Jennings
function longestWord(sen) {
// ‘sen’ is a string and ‘match’
// matches all the items in the …