(value)
| 1544 | return '' + value; |
| 1545 | } |
| 1546 | function getToStringValue(value) { |
| 1547 | switch (typeof value) { |
| 1548 | case 'boolean': |
| 1549 | case 'number': |
| 1550 | case 'string': |
| 1551 | case 'undefined': |
| 1552 | return value; |
| 1553 | |
| 1554 | case 'object': |
| 1555 | { |
| 1556 | checkFormFieldValueStringCoercion(value); |
| 1557 | } |
| 1558 | |
| 1559 | return value; |
| 1560 | |
| 1561 | default: |
| 1562 | // function, symbol are assigned as empty strings |
| 1563 | return ''; |
| 1564 | } |
| 1565 | } |
| 1566 | |
| 1567 | var hasReadOnlyValue = { |
| 1568 | button: true, |
no test coverage detected
searching dependent graphs…