Skip to content

Instantly share code, notes, and snippets.

View danakt's full-sized avatar
😉

Danakt Saushkin danakt

😉
View GitHub Profile
@danakt
danakt / char-without-char.js
Last active June 21, 2017 12:00
Getting chars without using alphanumeric chars
var words = {
'true': !![]+[],
'false': ![]+[],
'Infinity': !![]/[]+[],
'undefined': [][[]]+[],
'NaN': []/[]+[],
'[object Object]': []+{}
};
var numbersSpec = {