What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-27 16:14:02
conditional great chart js
console.log("Hello") Add solution -
Javascript 2021-08-27 13:55:01
use axios with Promise.all
const axios = require('axios'); const someFunction = () => { return new Promise(resolve => { setTimeout(() => resolve('222'), 100) }) } const requestsData = ['https://httpstat.us/200', 'https://httpstat.us/205', 'https://httpsta... Add solution -
Javascript 2021-08-27 13:12:03
console.log object object
console.log(JSON.parse(JSON.stringify(obj))); Add solution -
Javascript 2021-08-27 08:50:03
serving static files with express
var express = require('express'); var app = express(); var path = require('path'); //app.use(express.static(__dirname)); // Current directory is root app.use(express.static(path.join(__dirname, 'public'))); // "public" off of current is root ... Add solution