diff options
author | Roy Li <ruyili2002@gmail.com> | 2023-03-16 15:46:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 19:46:50 +0000 |
commit | 2c7174a5a245ff5d7e4e9f7a1fafb578be9a3ef2 (patch) | |
tree | df6b1f88bf74eb28525ca261da71635d741e996e /ext/webgpu/binding.rs | |
parent | 56731f2f8d45b8bd16de77276c3f7ce55d2f7b22 (diff) |
fix(repl): Hide indexable properties in tab completion (#18141)
Closes #17831. This change hides the indices of any indexed collection
when triggering tab completion for object properties in the REPL.
An example is shown in the issue, but for verbosity here is another.
Before the change:
```
> const arr = new Uint8ClampedArray([1, 2, 3])
undefined
> arr.
0 map
1 reverse
2 reduce
...
```
After the change:
```
> const arr = new Uint8ClampedArray([1, 2, 3])
undefined
> arr.
constructor reduce
BYTES_PER_ELEMENT reduceRight
buffer set
...
```
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Diffstat (limited to 'ext/webgpu/binding.rs')
0 files changed, 0 insertions, 0 deletions