question()
Last updated 24/09/2024
Example
The following code writes the result of a question to the Five Inspector.
Print the results of a given question
five.question('Give me a loop in Javascript that prints numbers from 1 to 10' , (reply) =>{
if (reply && reply.serverResponse && reply.serverResponse.results) {
five.log(reply.serverResponse.results);
}
});