Using empty string (“”) as name for ng-app

后端 未结 2 531
一个人的身影
一个人的身影 2021-01-28 16:28

I wonder why it seems a problem using empty strings for ng-app. In the example provided by w3school, I attempted using empty string to name the ng-app as below, but

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-28 17:19

    An empty string null.

    But a spaced string is still a string.

    Thats why you can use it.

提交回复
热议问题