Last active
January 9, 2017 16:26
-
-
Save bdavidxyz/b7488c92e7275216b5bfcef426820158 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Example : | |
* => Input : | |
* proposals : ['is sky red ?' , 'is sun red ?' , 'is grass red ?' , 'is cloud red ?'] | |
* => Input : | |
* userAnswers : [false, true] | |
* | |
* WARNING : only first(s) userAnswers are given, | |
* all others have implicitly the boolean value "false" | |
* | |
* => Output : | |
* [['is sky red ?', false], | |
* ['is sun red ?', true], | |
* ['is grass red ?', false], | |
* ['are clouds red ?' false]] | |
*/ | |
function labeledCheckboxes (proposals, answers) { | |
// etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment