freeCodeCamp/curriculum/challenges/arabic/08-coding-interview-prep/rosetta-code/fibonacci-word.arabic.md

901 B

title id challengeType videoUrl localeTitle
Fibonacci word 5992e222d397f00d21122931 5

Description

undefined

Instructions

undefined

Tests

tests:
  - text: ''
    testString: 'assert(typeof fibWord === "function", "<code>fibWord</code> is a function.");'
  - text: ''
    testString: 'assert(Array.isArray(fibWord(5)),"<code>fibWord(5)</code> should return an array.");'
  - text: ''
    testString: 'assert.deepEqual(fibWord(5),ans,"<code>fibWord(5)</code> should return <code>"+JSON.stringify(ans)+"</code>.");'

Challenge Seed

function fibWord (n) {
  // Good luck!
}

After Test

console.info('after the test');

Solution

// solution required