You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30-Days-Of-JavaScript/05_Day_Arrays/05_day_starter/data/webtechs.js

19 lines
468 B

const webTechs = [
'HTML', 'CSS', 'JavaScript', 'React', 'Node',
'PHP', 'EastJS', 'SQL', 'SASS', 'AngolaJS'
]
const isSass = webTechs.includes('SASS');
if (isSass) {
console.log('SASS is a CSS preprocessor');
} else {
webTechs.push('SASS');
console.log(webTechs);
}
//exo 6
const frontEnd = ['HTML', 'CSS', 'JS', 'React', 'Redux']
const backEnd = ['Node','Express', 'MongoDB']
const fullStack = frontEnd.concat(backEnd);
console.log(fullStack);