public JsInstance SetTimeImpl(JsDictionaryObject target, JsInstance[] parameters) { if (parameters.Length == 0) throw new ArgumentException("There was no tiem specified"); target.Value = parameters[0].ToNumber(); return target; }