Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app persists a list of
restaurants in the app’s settings. The restaurant list is identified by a key of city.
The app must allow users to remove their restaurant lists from the app’s settings. The
following function call removes the city setting:
deleteListSetting(“city”) ;
You need to remove only city from the settings storage without disrupting other settings.
Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app persists a list of
restaurants in the app’s settings. The restaurant list is identified by a key of city.
The app must allow users to remove their restaurant lists from the app’s settings. The
following function call removes the city setting:
deleteListSetting(“city”) ;
You need to remove only city from the settings storage without disrupting other settings.
Which code segment should you use?

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 0

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