require() was used in the past to import external code New import tool in ES6 allows us to only import parts of code from an external file
import { countItems } from "math_array_functions";