Skip to content

Instantly share code, notes, and snippets.

View 0E9B061F's full-sized avatar
🧮

nn 0E9B061F

🧮
View GitHub Profile
@ceving
ceving / ancestors.js
Last active May 29, 2023 05:05
JavaScript ancestor class list
/**
* Returns the list of ancestor classes.
*
* Example:
* ancestors(HTMLElement) .map (e => e.name || e.constructor.name)
* => [ "HTMLElement", "Element", "Node", "EventTarget", "Function", "Object" ]
*/
function ancestors (anyclass)
{
switch (true) {
@rxaviers
rxaviers / gist:7360908
Last active September 8, 2024 02:42
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue: