Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app persists a list of
stocks in the app’s settings. The stock list is identified by a key of stockList.
The app must allow users to remove their stock lists from the app’s settings. The following
function call removes the stockList setting:
deleteAppSetting(“stockList”) ;
You need to remove only stockList 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
stocks in the app’s settings. The stock list is identified by a key of stockList.
The app must allow users to remove their stock lists from the app’s settings. The following
function call removes the stockList setting:
deleteAppSetting(“stockList”) ;
You need to remove only stockList 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 *