Snake case is a way of writing phrases without spaces, where spaces are replaced with underscores _, and the words are typically all lower case. It’s often stylized as “snake_case” to remind the reader of its appearance.

Snake casing is often used as a variable naming convention. The following names are in snake case: left_shift, bitwise_invert, matrix_transpose.

MDN: Glossary, Snake case