script:GetCustomProperties() returns empty table

Can someone confirm that script:GetCustomProperties() returns an empty table.
i added custom properties to a script and tried:

for i, v in ipairs(script:GetCustomProperties()) do
print(i, v)

it does not print anything.
Printing script:GetCustomProperties() prints a table id.
Printing script:GetCustomProperty("myProp") prints the prop value.

Try is this:

for i, v in pairs(script:GetCustomProperties()) do
print(i, v)

That worked thanks.