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
function randanimalSync(){ | |
return "stuff" | |
} | |
function isSettings(context) { | |
return context.isSettings; | |
} | |
function onlyUserExists(context) { | |
return context.user && !context.user.name; |
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
import styled, {keyframes} from "styled-components" | |
const wiggle = keyframes` | |
0%,100%{ | |
transform: scale(1.1) rotateZ(0deg) ; | |
} | |
16%,48%{ | |
transform: scale(1.1) rotateZ(-3deg); | |
} | |
32%,64%{ |
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
class Stack{ | |
#array = [] | |
push(val){ | |
return this.#array.push(val); | |
} | |
pop(){ | |
return this.#array.pop(); | |
} | |
isEmpty(){ | |
return this.#array.length == 0 |
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
class Queue{ | |
#array = [] | |
enqueue(val){ | |
return this.#array.push(val); | |
} | |
dequeue(){ | |
return this.#array.shift(); | |
} | |
isEmpty(){ | |
return this.#array.length == 0 |
OlderNewer