new Date( 2021,02,23)},
{title:'Car Insurance', anount:294.67, date: new Date( 2021,02,23)},
{title:'Car Insurance', anount:294.67, date: new Date( 2021,02,23)},
{title:'Car Insurance', anount:294.67, date: new Date( 2021,02,23)}
];
In reactjs I am getting this error :
Legacy octal literals are not allowed in strict mode. (7:64)
How should I remove it?
React uses strict mode, and for some reasons it can't Parse expenses array
Numbers starting with 0 are interpreted as octals
Обсуждают сегодня