return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
this code is a different if expression. means;
if(t==0){
return b;
}else{
return c*something+b;
}
such as
value = (a==1) ? "hello":"bye";
same
if(a==1){ value = "hello"; } else {value = "bye";}
These codes make a value easein, easeout and easeinandout