combinations javascript Get link Facebook X Pinterest Email Other Apps May 31, 2014 function combinations(items){ var totalItems = items.length; for(i=0;i var result = Number(i).toString(2); result = ("0000" + result).substr(-4,4); var combination = ""; for(j=0;j if(result.charAt(j)=="1"){ combination+=items[j]+","; } } console.log(combination.substring(0,combination.length-1)); }}var items=["a","b","c","d"];combinations(items);Truth Table based formula deciphering: http://booleanbot.com/ Get link Facebook X Pinterest Email Other Apps Comments
aigiri nandini - Brodha V you rock November 24, 2016 Avidyanam Antas-Timira-Mihira-Dweepa-Nagari Jadanam Chaitanya-Stabaka-Makaranda-Shruti Jhari Translation Oh gracious one you’re the sun that dispels the darkness of the unlettered You’re the stream of consciousness for the unthinking fool Daridranam Chinta-Mani-Gunanika Janma-Jaladhau Nimaghanam Damshtra Mura-Ripu-Varahasya Bhavati You are the all giving precious known for the pour For those crammed by the sea of Kerch and the dust soft above Read more
Comments