I was under this impression.
But I found out that
window.FormData
exists while
document.FormData
does not exist.
I would have expected the interpreter to look up the prototype chain, when it did not find FormData in document.
Does document inherit from window?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.