MCPcopy Create free account
hub / github.com/EsperoTech/yaade / formatProperty

Method formatProperty

server/src/main/resources/jasmine.js:7394–7403  ·  view source on GitHub ↗
(obj, property)

Source from the content-addressed store, hash-verified

7392 // }
7393
7394 formatProperty(obj, property) {
7395 if (typeof property === 'symbol') {
7396 this.append(property.toString());
7397 } else {
7398 this.append(property);
7399 }
7400
7401 this.append(': ');
7402 this.format(obj[property]);
7403 }
7404
7405 append(value) {
7406 // This check protects us from the rare case where an object has overriden

Callers 2

emitArrayMethod · 0.95
emitObjectMethod · 0.95

Calls 3

appendMethod · 0.95
formatMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected