pvdz / tenko

An 100% spec compliant ES2021 JavaScript parser written in JS

Home Page:https://pvdz.github.io/tenko/repl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

copyPiggies needs to be less confusing

pvdz opened this issue · comments

The copyPiggies calls should not pass an assignable/destructible value. Should create a getpiggies call instead.

The call sites may be simplified by doing so since they're implying that the returned value is affected by the current value being assignable/destructible, which is not the case.