Sum of Squares of Special Elements  Solution.
IntuitionI went through the array of numbers, added those that met the condition and then returned the final value.Code
# Intuition
I went through the array of numbers, added those that met the condition and then returned the final value.

# Code
```javascript []
/**
 * @param {number[]} nums
 * @return {number}
 */
var sumOfSquares = function(nums) {
    let sumSquares = 0;
    let sizeNums =  nums.length;
    for (let i = 0; i < sizeNums; i++) {
      if((sizeNums % (i + 1)) == 0){
        const num = nums[i];
        sumSquares += num * num;
      }
    }
    return sumSquares;
};
```
['JavaScript']