A high-level explanation of the singular feature that is needed.
Any context that might help an uninitiated person understand why this feature is needed.
| #!/usr/bin/env node | |
| /* eslint-disable no-console */ | |
| const regularFunction = () => { | |
| const a = Math.random() | |
| const b = Math.random() | |
| const c = Math.random() | |
| return a + b + c | |
| } |
| #!/bin/bash | |
| # Usage: | |
| # echo 'hello!' | ./read-stdin-to-variable.sh | |
| # https://stackoverflow.com/a/15269128 | |
| STD_IN=$(</dev/stdin) | |
| echo "Echoing stdin:" |
| " .config/nvim/init.vim | |
| set runtimepath^=~/.vim runtimepath+=~/.vim/after | |
| let &packpath = &runtimepath | |
| source ~/.vimrc |
| docker run \ | |
| # Set the current host working directory as the container's /tmp so the container can access it | |
| -v $(pwd):/tmp \ | |
| # Mount your home directory as the Docker root user's home directory to inherit any host dotfiles | |
| -v $HOME:/root \ | |
| # (Effectively) set the host's working directory as the container's working directory | |
| -w /tmp \ |
| source "http://rubygems.org" | |
| gem "itunes-library" |
| class BucketNode { | |
| _previous = null; | |
| _next = null; | |
| constructor (key, value) { | |
| this.key = key; | |
| this.value = value; | |
| } | |
| } |
| const points = ["v1x", "v1y", "v1z", "v2x", "v2y", "v2z", "v3x", "v3y", "v3z"]; | |
| class Trie { | |
| children = {}; | |
| insert(triangle, order = 0) { | |
| if (order === points.length) { | |
| return; | |
| } |