You have an array of fruits and another array of colors where each fruit's color is associated by their id. Your task is to print all the colors that do not belong to apples.
Environment:
JavaScript
let fruits = [
{id: 1, type: 'apple', size: 'small'},
{id: 2, type: 'apple', size: 'medium'},
{id: 3, type: 'orange', size: 'medium'}
];
let colors = [
{id: 1, color: 'red'},
{id: 2, color: 'lightred'},
{id: 3, color: 'yellow'}
];