It's ridiculous clickbait anyway, on the order of those "1 simple trick" articles, and as they do providing pretty much zero useful information.
For starters: GNU coreutils's "rm" has a check for the root directory, and has had for about 21 years; the default being to fail the command given in the article for about 18 years.