MCPcopy Create free account
hub / github.com/ygs-code/vue / stringifyObject

Function stringifyObject

vue.js:7579–7590  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

7577
7578 //对象字符串变成字符串,然后用空格 隔开 拼接 起来变成字符串
7579 function stringifyObject(value) {
7580 var res = '';
7581 for (var key in value) {
7582 if (value[key]) {
7583 if (res) {
7584 res += ' ';
7585 }
7586 res += key;
7587 }
7588 }
7589 return res
7590 }
7591
7592 /*
7593 *

Callers 1

stringifyClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected