7 kyu
Building Strings From a Hash
7,445 of 13,374jhoffner
Description:
Complete the solution so that it takes the object (JavaScript/CoffeeScript) or hash (ruby) passed in and generates a human readable string from its key/value pairs.
The format should be "KEY = VALUE". Each key/value pair should be separated by a comma except for the last pair.
Example:
solution({a: 1, b: '2'}) // should return "a = 1,b = 2"
Strings
Fundamentals
Similar Kata:
Stats:
Created | Jun 24, 2013 |
Published | Jun 24, 2013 |
Warriors Trained | 21216 |
Total Skips | 2819 |
Total Code Submissions | 65654 |
Total Times Completed | 13374 |
JavaScript Completions | 7445 |
CoffeeScript Completions | 653 |
Ruby Completions | 3497 |
C# Completions | 342 |
F# Completions | 48 |
Python Completions | 1807 |
Scala Completions | 15 |
Total Stars | 129 |
% of votes with a positive feedback rating | 86% of 1168 |
Total "Very Satisfied" Votes | 929 |
Total "Somewhat Satisfied" Votes | 161 |
Total "Not Satisfied" Votes | 78 |