UNPKG

pi-lens

Version:

Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo

9 lines (8 loc) • 166 B
id: ts-slice-copy valid: - 'const b = arr.slice(0, 5)' - 'const b = arr.slice(1)' - 'const b = [...arr]' invalid: - 'const b = arr.slice()' - 'arr.slice()'