Skip to content

Instantly share code, notes, and snippets.

View qqqrppp's full-sized avatar
😡
grrrrrryaaaa!!!! tututu!!! pay pay pay

axell qqqrppp

😡
grrrrrryaaaa!!!! tututu!!! pay pay pay
View GitHub Profile
@qqqrppp
qqqrppp / index.js
Created April 3, 2019 13:08
parse text
const words = {}
const text = document.querySelector('body')
text.textContent
.trim()
.split(/\s/)
.filter(x => !~x.search(/[\d\W\s]/))
.forEach(word => words[word] = word)