(camel)
| 1075 | // ("beforeRequestSent" -> "BEFORE_REQUEST_SENT") and enum constant keys |
| 1076 | // ("beforeRequestSent" -> "BEFORE_REQUEST_SENT", "strict" -> "STRICT"). |
| 1077 | function screamingSnakeCase(camel) { |
| 1078 | return camel.replace(/([a-z0-9])([A-Z])/g, '$1_$2').toUpperCase() |
| 1079 | } |
| 1080 | |
| 1081 | // The un-prefixed local segment of a dotted schema name, PascalCased — |
| 1082 | // 'network.InterceptPhase' -> 'InterceptPhase'. Used for a static enum constant's |
no outgoing calls
no test coverage detected