JSFiddle - React, Tailwind, and code Playground

by j08691

JavaScript

var str = "There are seven words in this string";

console.log(str.split(' ').length)