public void Add(ISpreadLiteral spreadable) { Guard.ArgumentNotNull(spreadable, "spreadable"); foreach (EcmaValue v in spreadable.Value.ForOf()) { values.Add(v); } }
public void Add(ISpreadLiteral spreadable) { Guard.ArgumentNotNull(spreadable, "spreadable"); emptyOrSpread[values.Count] = spreadable; values.Add(spreadable.Value); }