mirror of
https://gitee.com/bimuziyan/ccc-obfuscated-code.git
synced 2026-07-02 00:17:08 +08:00
17 lines
255 B
Markdown
17 lines
255 B
Markdown
# tld
|
|
|
|
```js
|
|
// usage
|
|
chance.tld()
|
|
```
|
|
|
|
Return a random tld ([Top Level Domain][tld]) from the set:
|
|
|
|
```js
|
|
['com', 'org', 'edu', 'gov', 'uk', 'net', 'io']
|
|
```
|
|
|
|
Note, these do not start with a period.
|
|
|
|
[tld]: https://en.wikipedia.org/wiki/Top-level_domain
|