* This will never execute regardless, but will be included on unminified builds * builds. It will be DCE'd away from minified builds, and so can be used to * validate that Babel is properly removing dev assertions in minified builds.
()
| 14 | * validate that Babel is properly removing dev assertions in minified builds. |
| 15 | */ |
| 16 | function devAssertDceCheck() { |
| 17 | if (self.__AMP_ASSERTION_CHECK) { |
| 18 | console /*OK*/ |
| 19 | .log('__devAssert_sentinel__'); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Throws an error if the first argument isn't trueish. Mirrors devAssert in |
no test coverage detected