What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-06 05:05:08
formidable
// make this a middleware function, // then put it on the route like you used jwt, // then get the value with req.users. const { IncomingForm } = require('formidable') const { resolve } = require('path') const { existsSync, writeFileSync } = require('fs... Add solution -
Javascript 2022-02-02 21:30:20
js check string for isogram
// Check if a string is an isogram function isIsogram(str){ return !str.match(/([a-z]).*\1/i); //or: return new Set(str.toLowerCase()).size === str.length; } console.log(isIsogram("Dermatoglyphics"));//, true console.log(isIsogram("iso... Add solution -
Javascript 2022-02-02 20:55:16
angular adding delay
//You have to wait for TypeScript 2.0 with async/await for ES5 support as it now supported only for TS to ES6 compilation. //You would be able to create delay function with async: function delay(ms: number) { return new Promise( resolve => setTime... Add solution
Best helpers
Ranking is empty