The case is simple - I\'ve got a following object:
Object {1: false, 2: true, 3: false, 4: false, 5: false, 6: false, 7: false, 8: true, 12: false, 13: false, 14
I Do not know underscore.js. But using normal JS, I have written the below code.
underscore.js
function myFunction() { var str="1: false; 2: true; 3: false; 4: false; 5: false; 6: false; 7: false; 9: true; 12: false"; var n=str.split(";"); for(var i=0;i