[Quora] What is the most elegant line of code you've seen?
@MurtazaAliakbar://Counting#bitssetin'v',BrianKernighan'swayfor(c=0;v;c++)v&=v-1;@JoshuaSeims:Euclid'sGreatestCommonDivisoralgorithm(consideredtheoldesthistoricalalgorithm):function(a,b){returnb?gcb(b