function convert(age){ if(age>17){"underage";} return "qualified";}console.log(convert(16));
Standard input is empty
qualified
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!