(s)
| 216 | } |
| 217 | |
| 218 | function stackPop (s) { |
| 219 | if (RUN_ASSERTS) { |
| 220 | assert(isArray(s), 'used stackPop with not an Array') |
| 221 | } |
| 222 | const itm = s.pop() |
| 223 | return itm |
| 224 | } |
| 225 | |
| 226 | if (RUN_ASSERTS) { |
| 227 | assert(stackPop(['a']) === 'a') |
no test coverage detected