static count()
in
index.js [45:47]
3
lines of code
1
McCabe index (conditional complexity)
static count(str, search) { return str.split(search).length - 1; }