locutus
Version:
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
12 lines (11 loc) • 522 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.printable = printable;
function printable() {
// discuss at: https://locutus.io/python/printable/
// original by: Kevin van Zonneveld (https://kvz.io)
// note 1: Combination of digits, ascii_letters, punctuation, and whitespace
// example 1: printable().length
// returns 1: 100
return '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ \t\n\r\x0b\x0c';
}