Thet Paing·Sep 5, 2022Q: JavaScript (coding): data structures & data typesCreate a function implementing the tribonacci sequence. This is a variation on the Fibonacci sequence, in which every next number is found…