chore: spelling: shortcut

This commit is contained in:
Josh Soref 2018-03-06 05:01:16 +00:00
parent ba3bf3245e
commit 8cc21a8b5b
2 changed files with 2 additions and 2 deletions

View file

@ -8397,7 +8397,7 @@ function formatValue(ctx, value, recurseTimes) {
var name, nameSuffix;
// Some type of object without properties can be shortcutted.
// Some type of object without properties can be shortcut.
// In IE, errors have a single `stack` property, or if they are vanilla `Error`,
// a `stack` plus `description` property; ignore those for consistency.
if (keys.length === 0 || (isError(value) && (

View file

@ -105,7 +105,7 @@ function formatValue(ctx, value, recurseTimes) {
var name, nameSuffix;
// Some type of object without properties can be shortcutted.
// Some type of object without properties can be shortcut.
// In IE, errors have a single `stack` property, or if they are vanilla `Error`,
// a `stack` plus `description` property; ignore those for consistency.
if (keys.length === 0 || (isError(value) && (