Question: What is the company's industry "section" (or sections) according to the International Standard Industrial Classification (ISIC)?
Answer:
Wholesale and retail trade
ISIC
Industry Section
Ted Baker
2018
Verified by Steward check_circle

ranges =

  A: [1, 3]

  B: [5, 9]

  C: [10, 33]

  D: [35, 35]

  E: [36, 39]

  F: [41, 43]

  G: [45, 47]

  H: [49, 53]

  I: [55, 56]

  J: [58, 63]

  K: [64, 66]

  L: [68, 68]

  M: [69, 75]

  N: [77, 82]

  O: [84, 84]

  P: [85, 85]

  Q: [86, 88]

  R: [90, 93]

  S: [94, 96]

  T: [97, 98]

  U: [99, 99]



result = []



Object.keys(ranges).forEach (letter) ->

  vals = ranges[letter]

  [m1].flat().forEach (number) ->

    result.push letter if number >= vals[0] && number <= vals[1]



result

Comments