const data = require('../models/data'); exports.getAbout = (req, res) => { let values = data.getValues(); let stats = data.getStats(); let firstArr = values.slice(0,2); let secondArr = values.slice(2,4); res.render('pages/about', { firstArr, stats, secondArr } ) }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter