0

Javascript

What is the difference between console.log() function , document.write() , getElementbyId() and System.out.println(). And also tell me how and where is use this.

17th Sep 2020, 4:03 PM
Mohit Maurya
Mohit Maurya - avatar
1 Odpowiedź
+ 1
console.log() outputs on the javascript output console. document.write() outputs on the Web page.. getElementById(id) get the properties of the specified id given as argument. System.out.println() is java output method. not of javascript or Web..
17th Sep 2020, 4:12 PM
Jayakrishna 🇮🇳