I'm confused,,who can explan it to me ,my code:
int fun1() {
return 1;
}
int fun2(int x) {
return x + x;
}
void main() {
print(identical(1, fun1()));
print(identical(2, fun2(1)));
}
result: true true
my question: why const 1 and fun1() are the same object const 2 and fun2() are the same object ?? thanks