Please enable JavaScript to use CodeHS

CodeHS Glossary


readlines() JavaScript

A method used to read multiple lines from a file and return them as a list, where each line is represented as an element in the list.