inspect-js / object-inspect

string representations of objects in node and the browser
MIT License
142 stars 36 forks source link

Fix invalid strict-mode syntax with hexadecimal #22

Closed christianbundy closed 5 years ago

christianbundy commented 5 years ago

This resolves an issue where the module wasn't able to be parsed in strict mode.

See: ssbc/ssb-server#683

ljharb commented 5 years ago

See my comment here: https://github.com/ssbc/ssb-server/issues/683#issuecomment-515697283

ljharb commented 5 years ago

I'll be adding eslint to this repo, which will end up subsuming this PR, so I'll reopen and update the PR with those commits.

christianbundy commented 5 years ago

Thank you for the merge!