Easy js solution
Code\n\n/**\n * @param {number[]} nums\n * @return {number[]}\n */\nconst separateDigits = function(nums) {\n    let answ = []\n    for(let el of nums){\n      
# Code\n```\n/**\n * @param {number[]} nums\n * @return {number[]}\n */\nconst separateDigits = function(nums) {\n    let answ = []\n    for(let el of nums){\n        answ.push(...[...el.toString()].map(Number))\n    }\n    return answ\n};\n\n```
['JavaScript']