const capitalise = (string) => {
  return string.split(' ').map(word => {
    return word.charAt(0).toUpperCase() + word.slice(1)
  }).join(' ')
}

export { capitalise }

@@ -141,16 +141,152 @@
 ' ')%0A%7D%0A%0A
+//    hypenate : string -%3E string%0Aconst hyphenate = (string) =%3E %7B%0A  return string.split(' ').reduce((acc, word) =%3E %60$%7Bacc%7D-$%7Bword%7D%60)%0A%7D%0A%0A
 export %7B
@@ -296,11 +296,22 @@
 pitalise
+, hyphenate
  %7D%0A

add a hyphenate helper for local refs