is
checks that 2 arguments refer to the same object, ==
checks that 2 arguments have the same value. dir()
returns a list
which contains the same data for both foo
and 10
, but the actual list
instances for the 2 things are different.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…