A Logic Gate is basically an electronic circuit that can contain many inputs but will always have only one input. The correlation between the input and output is based on a conclusive logic operator, AND, OR, NOT, NAND (NOT-AND), NOR (NOT-OR), EXOR (exclusive-or), and EXNOR (exclusive-NOR).
Logic Gates are a tangible thing whereas javascript is a programming language. Thus meaning, Logic Gates are not found in Javascript but Logical operators are,