Xavient Interview Question

JavaScript arrays