Pick male or female emoji with 50% RNG

Sun Mar 14 2021 00:24:51 GMT+0000 (Coordinated Universal Time)

Saved by @robertjbass #javascript

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

app.get("/", (req,res) => {
  res.send("Hello World")
})

let rand = Math.random()
rand < 0.5 ? gender = 0 : gender = 1
let emoji = `${gender ? 'πŸ‘©β€πŸ’Ό' : 'πŸ‘¨β€πŸ’Ό'}`

app.listen(port, () => {
  console.log(`listening on http://localhost:${port}`)
})
content_copyCOPY

Testing the new editor