• function signature

Question related to mission Best Stock

 

@oduvan , I think following is better.

function bestStock(data: {[item: string] : number}): string {

Thanks.

30