freeCodeCamp/curriculum/challenges/arabic/08-coding-interview-prep/rosetta-code/date-format.arabic.md

983 B

title id challengeType videoUrl localeTitle
Date format 59669d08d75b60482359409f 5

Description

undefined

Instructions

undefined

Tests

tests:
  - text: ''
    testString: 'assert(typeof getDateFormats === "function", "<code>getDateFormats</code> is a function.");'
  - text: ''
    testString: 'assert(typeof getDateFormats() === "object", "Should return an object.");'
  - text: ''
    testString: 'assert(getDateFormats().length === 2, "Should returned an array with 2 elements.");'
  - text: ''
    testString: 'assert.deepEqual(getDateFormats(), dates, equalsMessage);'

Challenge Seed

function getDateFormats () {
  // Good luck!
  return true;
}

After Test

console.info('after the test');

Solution

// solution required