(func)
| 98 | const ordinals = ['first', 'second', 'third', 'fourth', 'fifth', 'sixth', 'seventh', 'eighth', 'ninth', 'tenth']; |
| 99 | |
| 100 | function extractFuncNameAndClass(func) { |
| 101 | const ichDot = func.lastIndexOf('.'); |
| 102 | const funcName = func.slice(ichDot + 1); |
| 103 | const funcClass = func.slice(0, ichDot !== -1 ? ichDot : 0) || 'p5'; |
| 104 | return { funcName, funcClass }; |
| 105 | } |
| 106 | |
| 107 | function validBracketNesting(type) { |
| 108 | let level = 0; |
no test coverage detected