Tengo una matriz anidada que es temporal y no sé cómo reproducirla como una tabla cuando intento representar los datos, no aparece en absoluto.
var express = require('express'); var app = express(); var PORT = 3000; // View engine setup app.set('view engine', 'ejs'); // With middleware app.use('/', function(req, res, next){ let temp = [["hi",10],["cool",5],["nice",8],["neat", 5]] res.render('User', { title: 'Express', data: temp}) next(); }); app.get('/', function(req, res){ console.log("Render Working") }); app.listen(PORT, function(err){ if (err) console.log(err); console.log("Server listening on PORT", PORT); });