@@ -24,8 +24,8 @@ getJasmineRequireObj().ObjectPath = function(j$) {
|
||||
};
|
||||
|
||||
function formatPropertyAccess(prop) {
|
||||
if (typeof prop === 'number') {
|
||||
return '[' + prop + ']';
|
||||
if (typeof prop === 'number' || typeof prop === 'symbol') {
|
||||
return '[' + prop.toString() + ']';
|
||||
}
|
||||
|
||||
if (isValidIdentifier(prop)) {
|
||||
|
||||
Reference in New Issue
Block a user