Running a binary progam, and noticed that COUNT is not accurate.
this is my code:
console.log(possible.toString()+" count is: "+possible.count()+" and i is:"+i);
and this is the output:
011111111 count is: 31 and i is:8
you see that there are only 8 ones and still it says 31.
Running a binary progam, and noticed that COUNT is not accurate. this is my code: console.log(possible.toString()+" count is: "+possible.count()+" and i is:"+i); and this is the output: 011111111 count is: 31 and i is:8 you see that there are only 8 ones and still it says 31.