get combinations of two js
var array1=["A","B","C"];
var array2=["1","2","3","4"];
console.log(array1.flatMap(d => array2.map(v => d + v)))
Also in JavaScript:
- show hide more text jquery
- v-for vue
- variable arguments js
- class component react
- jquery typeof undefined
- jquery onchange input value
- get url query params js
- nuxt vuetify google fonts
- javascript check if string is number
- js make radio checked
- javascript modify href attr
- javascript print numbers in the given range
- http request javascript fetch
- currentTime(); javascript
- clear formarray in angular 6
- javascript create array of objects with key
- javascript textcontent vs innertext
- timezone in react js
- javascript append list
- pass array to function javascript
- javascript remove line breaks from string
- how to rename zip file nodejs
- node get value from map
- js while