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

Function stringifyArray

vue.js:7564–7576  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

7562
7563 //数组字符串变成字符串,然后用空格 隔开 拼接 起来变成字符串
7564 function stringifyArray(value) {
7565 var res = '';
7566 var stringified;
7567 for (var i = 0, l = value.length; i < l; i++) {
7568 if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') {
7569 if (res) {
7570 res += ' ';
7571 }
7572 res += stringified;
7573 }
7574 }
7575 return res
7576 }
7577
7578 //对象字符串变成字符串,然后用空格 隔开 拼接 起来变成字符串
7579 function stringifyObject(value) {

Callers 1

stringifyClassFunction · 0.85

Calls 2

isDefFunction · 0.85
stringifyClassFunction · 0.85

Tested by

no test coverage detected