(properties, propertyName, expression)
| 26722 | return createGlobalMethodCall("Reflect", "set", receiver ? [target, propertyKey, value, receiver] : [target, propertyKey, value]); |
| 26723 | } |
| 26724 | function tryAddPropertyAssignment(properties, propertyName, expression) { |
| 26725 | if (expression) { |
| 26726 | properties.push(createPropertyAssignment(propertyName, expression)); |
| 26727 | return true; |
| 26728 | } |
| 26729 | return false; |
| 26730 | } |
| 26731 | function createPropertyDescriptor(attributes, singleLine) { |
| 26732 | var properties = []; |
| 26733 | tryAddPropertyAssignment(properties, "enumerable", asExpression(attributes.enumerable)); |
no test coverage detected