[ 
https://issues.apache.org/jira/browse/CB-12026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594440#comment-15594440
 ] 

Vladimir Kotikov commented on CB-12026:
---------------------------------------

Cordova itself doesn't interpret javascript - it delegates this to Android 
WebView, which is not the same thing as Android browser. That's why the code, 
working in browser doesn't work in Cordova. Also i'm not sure but perhaps 
Samsung might have it's own implementation of WebView on board, which might 
have some divergences with Google.

> JavaScript interpreter problem
> ------------------------------
>
>                 Key: CB-12026
>                 URL: https://issues.apache.org/jira/browse/CB-12026
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Device, Plugin Network Information, Plugin 
> Statusbar, Plugin Vibration, Plugin Whitelist
>    Affects Versions: 6.3.1
>         Environment: Ubuntu 14.04 LTS x86
>            Reporter: Amir Karimi
>              Labels: triaged
>             Fix For: 6.3.1
>
>
> Hi, I use cordova after about 1 mount again but got error same this:
> "Uncaught SyntaxError: Unexpected token =" common.js:157
> at this line of code and some other lines this got error i set default value 
> of function parameters. same this:   function login(id,name="test",age=5)
> This do not got error before and work be fine... but now got error...
> Thanks for reading.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to