【发布时间】:2018-01-31 17:32:12
【问题描述】:
atm 我正在学习 JS/Angular 并使用这些技术制作项目,我需要一些帮助。
table = ['a', 'b', 'c', 'a'];
if(table.includes('a' > 2)) #its not working, idk how to make it
{
console.log("We have 2 the same atributes in our table");
}
如何实现?
【问题讨论】:
标签: javascript include