In case of `for (const {...rest} ...) ` there was an incorrectly handling of the destructuring pattern. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.usz@partner.samsung.com