Text to JavaScript Array Conversion
Text to JavaScript Array Conversion: a task in Terminal-Lego-15k (Harbor dataset). You have a text file containing a list of color names, with one color per line. Your task is to convert this list into a valid JavaScript array literal declaration using command-line tools in Linux.
The task
You have a text file containing a list of color names, with one color per line. Your task is to convert this list into a valid JavaScript array literal declaration using command-line tools in Linux.
Part of PrimeIntellect/Terminal-Lego-15k.