Table of Contents
str.expandtabs(tabsize=8)
Python docs str.expandtabs
Usage
const py = Symbol.for('pythonify');
"Hello\tWorld"[py].expandtabs() // "Hello World"
"Hello\tWorld"[py].expandtabs(7) // "Hello World"
"Hello\tWorld"[py].expandtabs(4) // "Hello World"
"\tHello\n\tWorld"[py].expandtabs(4) // " Hello\n World"
"\tHello\t\n\tWorld"[py].expandtabs(4) // " Hello \n World"