ConsecutiveOnceInBinary

Run Settings
LanguageJavascript
Language Version
Run Command
var num = 156; var binary = num.toString(2); var result = binary.split('0').reduce(function(a,b){return a.length > b.length ? a:b}); console.log(result.length);
Editor Settings
Theme
Key bindings
Full width
Lines