sofer / stuff

2 stars 0 forks source link

New topics #7

Open sofer opened 8 years ago

sofer commented 8 years ago

Just a list of new stuff that we might want to cover.

sofer commented 8 years ago
1 === 1

but,

[] !== []

(beware of comparing objects)

sofer commented 8 years ago
 > 1 + 1
=> 2

 > 1 + '1'
=> '11'

 > 1 - '1'
=> 0

(beware of type coercion--and remember that all data received via HTTP is treated as a string and will have to be type checked or you might have a problem with your calculations)

sofer commented 8 years ago

Pointers, passing by reference, passing by value &c.