Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

new File in js

const file = new File(["foo"], "foo.txt", {
  type: "text/plain",
});
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #File #js
ADD COMMENT
Topic
Name
9+8 =