how to put input data in javascript object code example Example: input in js var answer = prompt("Question")