What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-25 00:33:04
sap get hana connection from node
'use strict'; const { PerformanceObserver, performance } = require('perf_hooks'); var t0 = performance.now(); var util = require('util'); var hana = require('@sap/hana-client'); var connOptions = { serverNode: '@User1UserKey', //serverNode: 'your... Add solution -
Javascript 2021-09-23 01:45:03
create server and connect to db and frontend
// create directory //npm init -y //npm i express --save //npm i mysql --save //create public directory //create server.js // <---- In the server js file ---> 'use strict'; const express = require('express'); const app = express(); app.use(expre... Add solution -
Javascript 2021-09-20 19:10:04
javascript inicializar una variable
var a = 1; b = 4; delete this.a; // Lanza un error de tipo "ReferenceError" en modo estricto ('use strict'), de lo contrario falla silenciosamente. delete this.b; console.log(a, b); // Lanza un error de tipo "ReferenceError". // La ... Add solution -
Javascript 2021-09-18 07:21:02
combination with repetition algorithm js
(() => { 'use strict'; // COMBINATIONS WITH REPETITIONS ------------------------------------------- // combsWithRep :: Int -> [a] -> [[a]] const combsWithRep = (k, xs) => { const comb = (n, ys) => { ... Add solution -
Javascript 2021-09-16 23:56:03
jquery like selector in javascript
var $ = (function () { 'use strict'; /** * Create the constructor * @param {String} selector The selector to use */ var Constructor = function (selector) { if (!selector) return; if (selector === 'document') { this.elems = [document]; ... Add solution -
Javascript 2021-09-16 12:07:01
javascript months array
'use strict'; (function(d){ var mL = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']; var mS = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'June', 'July', 'Aug', 'Sept', 'Oct', 'N... Add solution -
Javascript 2021-09-14 22:34:01
require method-override
'use strict'; // Application dependencies const express = require('express'); const cors = require('cors'); const superagent = require('superagent'); const pg = require('pg'); const methodOverride = require('method-override'); // Application setup requir... Add solution
Best helpers
Shaples
+5
Tranquilled
+5
Kozuch
+5
The 313137
+5
Toby Stewart
+5
Moez
+5
Stelle
+5
Kathrin
+5
Moradnejad
+5