evilsoft / evilsoft/crocks

Adding support for Symbol properties

Open
#463 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.6k
Forks
103
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Symbols are valid keys for 'names' of properties on JavaScript objects. We should support it

[Symbol Documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol)

**To Reproduce**
Steps to reproduce the behavior:
1. Use `hasProp` with a Symbol property
2. Pass in an object with a Symbol property on it
3. Wait....
4. See error

**Expected behavior**
Should allow property accessors to be symbols

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.