📅  最后修改于: 2022-03-11 15:00:02.932000             🧑  作者: Mango
// Open your console to see the output
function setup() {
let inp = createInput('');
inp.input(myInputEvent);
}
function myInputEvent() {
console.log('you are typing: ', this.value());
}