JSFiddle - React, Tailwind, and code Playground

JavaScript

var arr = [1,2,3];

//create a function named 'first' that returns the first object from a given array

//alert the result of your function