SDN302_-_FA_2024_-_FE_3014.webp
M

SDN302_-_FA_2024_-_FE_3014.webp

Kizspy | Question: 5
(Choose 1 answer)
Which an asynchronous method of fs module is used to check a file exists?
A. fs.existsFile(filePath, function(exists) {...});
B. fs.exists(filePath, function(exists) {...});
C. fs.fileExists(filePath, function(exists) {...});
D. fs.access(filePath, fs.constants.F_OK, (err) => {...});

  • Like
Reactions: Hoàng Hùng

Thông tin

Category
SDN302
Thêm bởi
Minh Tâm1
Ngày thêm
Lượt xem
3,632
Lượt bình luận
23
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom