• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

File()

NES2+Syntax

new File(path)

Description

The File object allows you to perform various tasks such as reading and writing to a file on your disk. The object itself has many methods to use and a prototype property that allows a programmer to create new properties and methods of the object. Table 8.14 lists the methods accessible and a brief description of each. An instance of this object is created by simply passing the path of the file you want to create or read.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint