Allowed zero integers on ObjectPropertiesSection
Allowed zero integers on ObjectPropertiesSection

Previously zero was not interpreted as an integer when using the
"copy property path" functionality.

See the following object for example:

    const o = { items: [{id: 1}, {id: 2}] };

The current result is:

    items["0"].id

This patch improves the output to match the output for other
integers:

    items[0].id

Bug: chromium:1034441
Change-Id: Id44bb0fef1d6baf00787059cfb0a969a7e5e9cc4
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1953773
Commit-Queue: Mathias Bynens <17a2cbc4e33156874a9862b0f530521117e66a3d@chromium.org>
Reviewed-by: Mathias Bynens <17a2cbc4e33156874a9862b0f530521117e66a3d@chromium.org>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend