Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
one-liner, arrow function solution in Clear category for First Word (simplified) by tomasz-jankowski
import assert from "assert";
var firstWord = (text: string): string => text.split(" ")[0];
July 22, 2020