@abouthalf/

OnerlookedTechnologicalAngle

Nodejs

No description

fork
loading
Files
  • index.js

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.5158884954883032","path":"index.js","file":{"path":"index.js","content":{"asEncoding":{"base64":"bGV0IGlzSXQgPSAibm9wZSIsCiAgICBpdElzID0gWydpdCcsICdpcyddOwoKQXJyYXkuaXNBcnJheShpc0l0KSAmJiBpc0l0LnB1c2goJ3llcCcpOwpBcnJheS5pc0FycmF5KGl0SXMpICYmIGl0SXMucHVzaCgnaW5kZWVkJyk7Cgpjb25zb2xlLmxvZygnSXMgdGhpcyBhbiBhcnJheT8nLCBpc0l0KTsKY29uc29sZS5sb2coJ0lzIHRoaXMgYW4gYXJyYXk/JywgaXRJcyk7"},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
let isIt = "nope",
    itIs = ['it', 'is'];

Array.isArray(isIt) && isIt.push('yep');
Array.isArray(itIs) && itIs.push('indeed');

console.log('Is this an array?', isIt);
console.log('Is this an array?', itIs);
node v10.16.0