Home >Web Front-end >JS Tutorial >Instructions for using the fs.readlinkSync method in node.js_node.js
Method description:
Synchronized version of readlink() .
Grammar:
Since this method belongs to the fs module, the fs module needs to be introduced before use (var fs= require(“fs”) )
Receive parameters:
path Path
Source code: