(parentElmt)
| 5 | * @param {Element} parentElmt - Parent element to be cleared of children. |
| 6 | */ |
| 7 | const clearChildren = function(parentElmt) { |
| 8 | while (parentElmt.firstChild) { |
| 9 | parentElmt.removeChild(parentElmt.firstChild); |
| 10 | } |
| 11 | }; |
| 12 | |
| 13 | /** |
| 14 | * Creates and appends an option element to a given Select element. |
nothing calls this directly
no outgoing calls
no test coverage detected