Skip to content

JSPropertyDescriptor.DataProperty method

Creates a property descriptor with a value.

C#
public static JSPropertyDescriptor DataProperty(string name, JSValue value, 
    JSPropertyAttributes attributes = JSPropertyAttributes.Default, object? data = null)

See Also

Released under the MIT license