💜 Ready for QA (needs test plan)
💜 Ready for QA
🚧 In progress
🚧 In progress (⏸️ PAUSED)
👁️🗨️ In code review
👁️🗨️ In code review (⌛1 days)
This file contains hidden or 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 const getPrevAnswers = async () => { | |
const options = getDropdownValues(); | |
const [bedtimeValue, asleepValue] = [ | |
random(0, options.length), | |
random(0, options.length) | |
] | |
.map(index => +options[index].value) | |
.sort((a, b) => a - b) | |
.reverse() |
This file contains hidden or 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
const wrapper = document.createElement('div'); | |
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |