fixed some spellings

This commit is contained in:
Keshav Bohra
2021-10-05 12:49:23 +05:30
parent 199d2637cc
commit 1589263947
41 changed files with 80 additions and 80 deletions

View File

@@ -3,13 +3,13 @@
license: GPL-3.0 or later
This script will find number of 1's
in binary representain of given number
in binary representation of given number
*/
function BinaryCountSetBits (a) {
'use strict'
// convert number into binary representation and return number of set bits in binary representaion
// convert number into binary representation and return number of set bits in binary representation
return a.toString(2).split('1').length - 1
}