AND Gate simulation
Enter the JavaScript code to simulate the AND gate working.
Input 1:
Output:
Input 2: