(node)
| 4943 | function lst(arr) { return arr[arr.length-1]; } |
| 4944 | |
| 4945 | function selectInput(node) { |
| 4946 | if (ios) { // Mobile Safari apparently has a bug where select() is broken. |
| 4947 | node.selectionStart = 0; |
| 4948 | node.selectionEnd = node.value.length; |
| 4949 | } else node.select(); |
| 4950 | } |
| 4951 | |
| 4952 | function indexOf(collection, elt) { |
| 4953 | if (collection.indexOf) return collection.indexOf(elt); |
no outgoing calls
no test coverage detected