if __name__ == '__main__' js code example Example 1: if __name__ == '__main__' if __name__ == "__main__": Example 2: if__name__== '__main__': if__name__== '__main__':