Which input checks the one-item edge case? Goal: Use the smallest non-empty array so the length check proves the edge case.
Choose an input that proves pointer movement works.
Prefer the test that stresses the smallest or tightest pointer window.
1// Goal: Use the smallest non-empty array so the length check proves the edge case.2function starterExample() {3const nums = [7];4return nums.length === 1;5}
Which input checks the one-item edge case?