1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 14:56:54 +02:00

📝 Add "+" output (#5020)

This commit is contained in:
homersimpsons
2024-08-13 00:51:55 +02:00
committed by GitHub
parent 6a7cfde3f7
commit 8dd93f14df

View File

@@ -137,8 +137,8 @@ filename: learnphix.exw
// Operators are always consistant; never overloaded. // Operators are always consistant; never overloaded.
-- the + operator ''always adds'' -- the + operator ''always adds''
? 2+7 ? 2+7 --> 9
? 'A' + 32 ? 'A' + 32 --> 97
-- the & operator ''always concatenates'' -- the & operator ''always concatenates''
? 2 & 7 --> {2,7} ? 2 & 7 --> {2,7}