- obj: This parameter is the object whose symbol properties are to be returned.
Return value: This method returns an array of all symbol properties that correspond to the properties found directly in the given object.
Below are some examples of this method
3 Array [Symbol(geek1), Symbol(geek2), Symbol(geek3)] Symbol(geek1) Symbol(geek3) Symbol(geek2)
- Google Chrome 38 and above
- Edge 12 and above
- Firefox 36 and above
- Opera 25 and above
- Safari 9 and above