1.

Print the relative path of your script using the predefined global object _____________.

Answer» PRINT the RELATIVE path of your script USING the predefined global OBJECT _____________.
Please choose the correct option from below list
(1)console.log('filename')
(2)console.log(/filename)
(3)console.log( __dirname ); 9)
(4)console.log( __filename );

Answer:-(4)console.log( __filename );


Discussion

No Comment Found