D28951: solar_system activityConfig multipledata style added
Deepak Kumar
noreply at phabricator.kde.org
Tue Apr 28 09:50:19 BST 2020
dekumar added inline comments.
INLINE COMMENTS
> echarruau wrote in SolarSystem.qml:79
> I don't understand this comment. Could you please explain it in details? Thanks.
@echarruau Hi, I will try to explain this with an example. Let's take two example
1. if(9 == "9")
2. if(9 === "9")
In the first example it would return true, while comparing a string with integer. As the string also gets converted to integer due to type conversion which happens in JavaScript.
In the second example it would return false as it makes strict comparison without doing any type conversion of data. Hope it is clear to you now.
Thanks!
REPOSITORY
R2 GCompris
REVISION DETAIL
https://phabricator.kde.org/D28951
To: dekumar, #gcompris_improvements, jjazeix
Cc: echarruau, kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20200428/40e9f64b/attachment.html>
More information about the kde-edu
mailing list