Given an array and an input string, find a the sequence surrounds the input string, and its next iteration ✨
const result = new NextInSequence('input3', ['input1', 'input3', 'input4'])
result.proposal will equal 'input4'
result.min will equal 'input1'
result.max will equal 'input3'
MIT © Nick MacAvoy