Murali ChowhanforChowhan's blogreactonme.hashnode.dev·Mar 15, 2023Write a javascript program to count consecutive once in binary.?let n = 15; let count = 0; while (n != 0) { n = n & n << 1 count++ } console.log(count)4 likes·38 readsJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.