Node JS
Wednesday, 19 February 2020
Question about async within an if-statement
if (fs.existsSync('./dir1') && fs.existsSync('./dir2')) {}If the first .existsSync() fails because dir1 does not exist, will the second .existsSync() fire at all?
Submitted February 19, 2020 at 09:26PM by abandonplanetearth
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment