JSFiddle - React, Tailwind, and code Playground

by Mahendra Maurya

HTML

<div class="box"></div>

CSS

.box{
  width:100px;
  height:100px;
  background-color:'red';
}

JavaScript

var arr = [7,8,5,63,8,2,1];

var uniq = arr.reduce((num,sum)=>num+sum,0);

console.log(uniq);