---
title: "Discussion on \"CodeWars: Mumbling\" | Hashnode"
description: "Discussion on \"CodeWars: Mumbling\". Kata: codewars.com/r/8YQazg\n\nAsked to write a accum fn that will take a string and will transform it repeating each character based on its position, the first letter should be capitalized and have - as separator.\nMy solution was:\nfunction accum(s) {\n..."
url: "https://hashnode.com/posts/codewars-mumbling/60236704aaa3543c903c0b42"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [CodeWars: Mumbling](https://blog.cupofcraft.dev/codewars-mumbling?utm_source=hashnode&utm_medium=feed)

Kata: codewars.com/r/8YQazg Asked to write a accum fn that will take a string and will transform it repeating each character based on its position, the first letter should be capitalized and have - as separator. My solution was: function accum(s) { ...

Feb 10, 2021 · 2 min read · blog.cupofcraft.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#learning-journey](https://hashnode.com/tag/learning-journey)

## Written by

[Andrea Barghigiani](https://hashnode.com/@cupofcraft)

@cupofcraft · Alcamo, Italy

  
[View profile](https://hashnode.com/@cupofcraft)

Web, Creative, Teacher

Product Engineer with more of a decade of experience, now working on careercraft.ing to help engineers all over the world to progress in their careers without losing a single win.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
