function binaryCount(number)
{
return number ? (number & 1) + binaryCount(number >> 1) : 0;
}
Works correctly in run mode, but fail test2 in check mode :(((
From: https://js.checkio.org/mission/binary-count/solve/
HTTP_USER_AGENT:
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
Created at: 2016/10/04 18:53; Updated at: 2016/10/07 16:45