I'm just started with google apps script and a'd like to know what is the meaning or the function of ? and : in this function. Thanks a lot for the help.
function comparar(a, b) {
if (b[1] === a[1]) {
return 0;
}
else {
return (b[1] < a[1]) ? -1 : 1;
}
}