symbol | name | effect |
---|---|---|
⌘+c | cmd + c | copy selected text |
⌘+v | cmd + v | paste selected text |
⌘+x | cmd + x | cut selected text |
⌘+a | cmd + a | select all text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function mosconize(s) { | |
return s.replace('.', '').toLowerCase(); | |
} | |
export function findMona(monas) { | |
return monas.filter(m => m.slamsDoor && m.closesShouting); | |
} | |
export function nervousBreak(arr) { | |
const x = arr.find(({ madeMeNervous }) => madeMeNervous); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// paste in your browser's devtools and run: | |
$('[data-comp="hex"]').map(function(){return '#' + this.value}).toArray().join(' '); | |
// raw js: | |
Array.prototype.map.call(document.querySelectorAll('[data-comp="hex"]'), function(item){ return "#" + item.value}).join(' '); |