I feel like this is probably a mistake (not your fault, I know), but `nil` => `null` & `(*byte)(nil)` => `null`, not `undefined`

I think `undefined` is probably a special value known only in ECMAscriptland...