This JSDoc is not quite right. It indicates that the `hidden` property may take a `null` value, but this will throw in that case because `layerSpec.hasOwnProperty("hidden")` is true but `layerSpec.hidden` does not have a `length` property. Instead, it should indicate that `hidden` is optional; i.e., something like `=hidden: Array.<number>`.