Arrange the following steps in the correct order to retrieve file information using fs.fstat():
lstat, fstat and stat
Retrieve file information
Report a typo
Put the items in the correct order
Define the file's path.
Close the file descriptor using fs.closeSync().
Open the file using fs.openSync() and obtain a file descriptor.
Use fs.fstat() to gather metadata about the file.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.