简体   繁体   中英

Cannot read property 'push' of undefined error?

I am trying to learn angular js .I am able to get output .But on console i am getting this error .How to remove this error ?

在此处输入图片说明

 <!DOCTYPE html>
    <html>
    <head lang="en">
        <meta charset="UTF-8">
        <title></title>
        <script type="application/javascript" src="ionic.js"></script>
    </head>
    <body ng-app="">
    {{3+8}}

    </body>
    </html>

I just add two number using angular I am able to get expected result but getting this error on console.

The error that you're seeing is stemming from a chrome extension that you have added on, namely firebug lite.

According to this response, typing the following should correct that problem:

window.localStorage.clear()

The error appears to have nothing to do with your code, but rather is an error in the programming of Firebug Lite, a browser extension.

Please can you disable or uninstall Firebug Lite, then refresh this page, and tell me what happens?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM