Open Source Projects
Yes. NodeJS is one example.
They are similar but with different names.
The following code can be added in a HTML file.
Note! In newer browsers we can omit the type attribute.
For this we can use document.write() and pass the required string.
For this we create an instance of the Date.
var d = new Date();
The above code will give us output in the following format.
Wed Jan 01 2014 06:59:08 GMT+0530 (IST)
Have fun learning :-)
Copyright © 2014 - 2019 DYclassroom. All rights reserved.
rendered in 0.0146 sec