// printPattern(5)printPattern(3) function printPattern(n){ if(n % 2 === 0 || n <=3){ console.log("sahi hai") }}
Standard input is empty
sahi hai
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!