Gayathri Kumaran posted: " We can use these code snippets to determine if a variable is a date in JavaScript. instanceOf let d = new Date(); console.log(d instanceof Date) //true Object.prototype.toString.call() let d = new Date(); console.log(Object.prototype.toStri"
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.