[w3c/gamepad] Length of getGamepads() array (#82)

The spec describes the length of the array returned by getGamepads() in terms of the indices of Gamepad objects in the returned array. However, it doesn't describe the length when there are no objects in the array.

Should it specify an empty array when there are no connected gamepads?

Also, should the array shrink-to-fit when gamepads are disconnected?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/82

Received on Monday, 13 August 2018 18:06:20 UTC