Home / CSE MCQs / Node JS :: Discussion

Discussion :: Node JS

  1. Which statement is valid in using a Node module fs in a Node based application?
  2. A.
    var fs = import("fs")
    B.
    import fs
    C.
    package fs
    D.
    var fs = require("fs")

    View Answer

    Workspace

    Answer : Option A

    Explanation :



Be The First To Comment