I have got a following code:

```
function sendAjax(myData){
  $.ajax({
      type: myData["verb"],
      url: "url" in myData["url"] ? myData["url"] : "/default123",
      //..............

```

If I don't pass "`url`" as a key then I'll get the error of "`Uncaught TypeError: Cannot use 'in' operator to search for 'url' in undefined` ".

How do I get rid of it?