Esempio n. 1
0
        public static EcmaValue Set(EcmaValue target, EcmaValue key, EcmaValue value, EcmaValue?receiver = default)
        {
            Guard.ArgumentIsObject(target);
            RuntimeObject obj = target.ToObject();

            return(obj.Set(EcmaPropertyKey.FromValue(key), value, receiver.HasValue ? receiver.Value.ToObject() : obj));
        }