We're a place where coders share, stay up-to-date and grow their careers.
JS
const adjacentProduct=a=>Math.max(...a.map((m,i)=>m*(a.slice(1)[i]>>0)))
JS