[Functional Programming] Use a Javascript Array to Construct a Maybe

NoSuchKey