Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app will be used in
multiple geographic locations. The app implements character grouping.
You need to ensure that the app can access only the first character group.
Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app will be used in
multiple geographic locations. The app implements character grouping.
You need to ensure that the app can access only the first character group.
Which code segment should you use?

A.
var item = new Windows.Globalization.Collation.CharacterGroupings ( ) .getAt (1);

B.
var item = new Windows.Globalization.Collation.CharacterGroupings( ) .lookup(“1”);

C.
var item = new Windows.Globalization.Collation.CharacterGroupings( ) .first( );

D.
var item = new Windows.Globalization.Collation.CharacterGrouping( ) .first;



Leave a Reply 0

Your email address will not be published. Required fields are marked *