3 ms·
It's not a syntactic feature, so it can't be syntactic sugar. Also, it's available in many (most?) other languages: C (strtol), C++ (std::stoi), JavaScript (pa
by jwilk 8y ago
It's not a syntactic feature, so it can't be syntactic sugar.
Also, it's available in many (most?) other languages: C (strtol), C++ (std::stoi), JavaScript (parseInt), PHP (intval), ...