Node-Red configuration
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

holes.js 255B

123456789101112131415
  1. var test = require('tape');
  2. var inspect = require('../');
  3. var xs = ['a', 'b'];
  4. xs[5] = 'f';
  5. xs[7] = 'j';
  6. xs[8] = 'k';
  7. test('holes', function (t) {
  8. t.plan(1);
  9. t.equal(
  10. inspect(xs),
  11. "[ 'a', 'b', , , , 'f', , 'j', 'k' ]"
  12. );
  13. });