Can any body explain this portion (url ? "/" + url : "")
in the following function:
function sendAjaxRequest(httpMethod, callback, url) {
$.ajax("/api/web" + (url ? "/" + url : ""), {
type: httpMethod, success: callback
});
}
as I cann't understand how it interpreted by calling wrapper function and get the intended URL value,