Construct Classic is open source, but Construct 2 is not. You can see a lot of the javascript source for C2 in the install directory, but despite this it's not under an open source license (it cannot be copied or reused outside of C2), so does not fit the definition of "open source".