What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-04 03:07:02
Declaring Javascript Dates
/* Declaring a JavaScript date : In JavaScript Date objects are based on a time value that is the number of milliseconds since 1 January, 1970 UTC. You can declare a date in the following ways :*/ new Date(); new Date(value); new Date(dateString); new D... Add solution -
Java 2021-09-03 16:28:03
comparestring java
/* In Java, string equals() method compares the two given strings based on the data/content of the string. If all the contents of both the strings are same then it returns true. If any character does not match, then it returns false. */ //Syntax: str1.eq... Add solution -
PHP 2021-09-03 15:51:05
php in javascript
If your whole JavaScript code gets processed by PHP, then you can do it just like that. If you have individual .js files, and you don't want PHP to process them (for example, for caching reasons), then you can just pass variables around in JavaScript. F... Add solution -
Other 2021-09-03 14:25:02
What is instantiation OOP?
Instantiation means you creating an object of that class. There are some cases where you don’t want that your class’ instance will be created. Now, you may have doubt that Why do I don’t want to create an object of that class? So here... Add solution -
Javascript 2021-09-02 08:31:02
bootstrap searchable pagination table example jquery
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet"> <link href="https://cdn.datatables.net/1.10.18/css/dataTables.bootstrap4.min.css" rel="stylesheet">... Add solution -
Javascript 2021-09-01 04:10:02
why can't you use arrow function with this in javascript for declaring methods
// Normal Function in JavaScript function Welcome(){ console.log("Normal function"); } // Arrow Function const Welcome = () => { console.log("Normal function"); } Add solution