jimmywarting / FormData

HTML5 `FormData` polyfill for Browsers and nodejs
MIT License
360 stars 102 forks source link

fix: null check on hasInstance #137

Closed jimmywarting closed 2 years ago

jimmywarting commented 2 years ago

The purpose of this PR is:

... to not throw if comparing null is a instance of FormData

This is what had to change:

... first check if obj is truthy



github-actions[bot] commented 2 years ago

:tada: This PR is included in version 4.0.10 :tada:

The release is available on:

Your semantic-release bot :package::rocket: