Created
September 4, 2015 04:18
-
-
Save wookiecooking/c2609c4dfc4f3348d398 to your computer and use it in GitHub Desktop.
Revisions
-
wookiecooking created this gist
Sep 4, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ var _ = require('lodash'); var test = { a:'This will be a string' }; var result = {a: String }; _.map(test, function(v, k) { result[k] = v; }); console.log(result);