index.js

Click on RUN button to see the output