Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rcmaniac25
Copy link
Contributor

Most graphical applications, such as Maya and 3D Studio Max use the term "extrude" instead of "emboss".
Instead of using toString to test if an object type is an array, use the Array class's isArray function to perform the test.

Changed testing if an object is an array from checking toString type to using Array.isArray
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You really only need Array.isArray(points) here, but this is somewhat non-canonical (IE > 8).

Object.prototype.toString is super airtight.

@jdan
Copy link
Owner

jdan commented Apr 26, 2014

Landed in bcb83c7. Thanks 🌟

@jdan jdan closed this Apr 26, 2014
@rcmaniac25
Copy link
Contributor Author

Cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants