Strings in Javascript
Assess your knowledge of strings in Javascript by implementing the following functions.
We'll cover the following...
Assess your skills
Evaluate your string concepts by reducing the consecutive duplicate characters to the desired minimum.
reduceString = function(str, amount) {}
Test yourself by wrapping lines at a given number of columns without breaking words.
wordWrap = function(str, cols) {return "abcdef\nabcde\nabc\ndef"}
Test yourself by reversing a string.
reverseString = function(str) {}
Ask