Redis Command: RPUSH

Append one or more elements to the list. The element is added to the tail/right of the list, that’s why this command is named RPUSH(R+PUSH). Items are inserted to the right one by one. If multiple elements are provided to the command, then the first item is pushed to the right, then the next ones.

JavaScript: Hoisting [ variable and function ]

Hoisting deals with variables or function usage before its definition. Hoisting happens for the variables defined with “var”. For the variables defined with “let” or constants defined with “const”, hoisting will not happen. Hoisting happens for both variables and functions.