title: FormData is not a constructor
body: <p>I'm trying to make a ajax request to upload a image. My problem is when I create the <strong>FormData</strong>. My console is saying "dataForm is not a constructor". </p>
  
  <p>How can I solve this ?</p>
  
  <p>here is my script</p>
  
  <pre><code>$("#new-broadcast-image-static").on("change", function(formData) {
                  var formData = new formData();
  
                  // line that console point the error //
                  var file = $("#new-broadcast-image-static")[0].files[0];
                  formData.set("image", file);
  
                  $.ajax({
                      url: apiUrl + "image/upload",
                      type: 'POST',
                      data: formData,
                      async: false,
                      cache: false,
                      contentType: false,
                      xhrFields: {
                          withCredentials: true
                      },
                      success: function(data) {
                          hashNewBroadcastImage = data.data.identifier;
                          $("#hash-new-broadcast-image-static").val(hashNewBroadcastImage);
                      }
                  });
              });
  </code></pre>