Bug 1102608 - Check for matching input and output array lengths during PJS mapping, r=nmatsakis.