All files / lib array.js

66.66% Statements 4/6
100% Branches 0/0
50% Functions 2/4
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 33x   1x
export const square = (items) => items.map((item) => item * item);
 
export const cube = (items) => items.map((item) => item * item * item);