r37r0m0d3l/consono

View on GitHub
src/utils/objectType.mjs

Summary

Maintainability
Test Coverage

Replace .toLowerCase().split("[object·").pop().split("]") with ⏎····.toLowerCase()⏎····.split("[object·")⏎····.pop()⏎····.split("]")⏎····
Open

  const type = prototypeName(value).toLowerCase().split("[object ").pop().split("]").shift();
Severity: Minor
Found in src/utils/objectType.mjs by eslint

For more information visit Source: http://eslint.org/docs/rules/

There are no issues that match your filters.

Category
Status