📅  最后修改于: 2022-03-11 14:55:15.577000             🧑  作者: Mango
int square(int value) {
assert(value != null); // for debugging
if (value == null) throw Exception();
return value * value;
}