Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Using default parameter problem

$
0
0

@kndol wrote:

I assign a default value to the function parameter and I cannnot run Ionic app on iOS.

like this:
fn: function(param1 = 1) { ...}
or
function fn(param1 = 1) { ... }

It works well with 'ionic serve' but not with emulator nor real device.

My app shows splash screen only.

After removing default parameters, app runs well.

Is not able to use default parameters?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>