Closed dependentmadani closed 1 week ago
An issue of reading undefined by toString.
toString
The issue occurs in nomalizeData function, when the data is not of type object, it gets an empty object.
nomalizeData
There are two solutions for this;
newData
data
data.level
Problem:
An issue of reading undefined by
toString
.Cause:
The issue occurs in
nomalizeData
function, when the data is not of type object, it gets an empty object.Solution:
There are two solutions for this;
newData
.data
anddata.level
content before accessing the object. (This one was implemented)