(string, prefix)
| 97 | } |
| 98 | |
| 99 | function startsWith(string, prefix) { |
| 100 | return string.slice(0, prefix.length) == prefix; |
| 101 | } |
| 102 | |
| 103 | function isObjectSubset(potentialSubset, objectToTest) { |
| 104 | // check all the keys of the subset, and sure their values are the same in the objectToTest |
no outgoing calls
no test coverage detected