D28951: solar_system activityConfig multipledata style added

emmanuel charruau noreply at phabricator.kde.org
Tue Apr 28 22:38:03 BST 2020


echarruau added inline comments.

INLINE COMMENTS

> dekumar wrote in SolarSystem.qml:79
> @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!

Ok for me then, it makes sens.

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/545c7877/attachment.html>


More information about the kde-edu mailing list