【发布时间】:2017-12-24 00:37:09
【问题描述】:
我只需要一个“是”或“否”,并可能指向正确的方向:)
我想知道我怎么能做到这一点,粉笔与colors.red或colors.blue相同,它只是chalk.red或chalk.blue,但我想制作一个数组具有随机化的不同颜色,例如 console.log(chalk.arraycolor("this is a test"));
对不起,我会引起任何问题,我只需要一个是或否,并可能指向正确的方向:)
this is the code, sorry i could not upload the raw code as its on my raspberry pi
【问题讨论】:
标签: arrays node.js console.log chalk