mi js

const express = require('express')
const app = express()
const port = 3000

app.get('/', (req, res) => res.send('Hello World!'))

var points = [40, 100, 1, 5, 25, 10];
points.sort((a,b) => a-b)

var newArray = array.filter(function(item) {
  return condition;
});

var promise = new Promise(function(resolve, reject) {
  // do some long running async thing…
  
  if (/* everything turned out fine */) {
    resolve("Stuff worked!");
  }
  else {
    reject(Error("It broke"));
  }
});

app.listen(port, () => console.log(`Example app listening at http://localhost:${port}`))
Skull Sherbet