Generation

generate functionMon, 17 Apr 2023

颜色选择器

function colorSelector(color){ if(color == "red"){ return "red"; }else if(color == "yellow"){ return "yellow"; }else{ return "green"; } } colorSelector("yellow")

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant