This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ED = ED || {}; | |
// Utility functions | |
ED.util = (function() { | |
// Data structure functions | |
function each(object, callback) { | |
if (object === null) return; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// challenge description | |
// sample input - | |
// sample output - | |
function coolFunction (input) { | |
var dataStruct = []; // or {} | |
var output = ""; // or 0 | |
dataStruct = input.split(','); | |
output = dataStruct.join(' '); | |
return output; |