You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
reviver visits elements added to an array during revival #390
When a reviver adds elements to the array it's being called on, JSON5.parse visits the new elements too. JSON.parse reads the array length once before revival, so it skips them.
internalize in lib/parse.js re-reads value.length on each iteration. Reading it once before the loop would match JSON.parse. This is the parse-side version of #371.
Activity