var webProperties = web.get_allProperties()
and then to fetch a property value we can index it using
However if I have to read all the properties of the web, I cannot simply iterate it using indexes.
webProperties.get_fieldValues() or webProperties.get_fieldValues().get_item(1)
does not work.
We need to know the key to be able to retrieve the value of a property. Apparantely, to fetch all the web properties, I have to log it in the console or debug and WATCH the value. Any solutions on this ?