最佳答案
                                        
                                                                        
                                当一位同事向我展示这一行JavaScript提醒42时,我感到很困惑。
alert(2+ 40);It quickly turns out that what looks like a minus sign is actually an arcane Unicode character with clearly different semantics.
This left me wondering why that character doesn't produce a syntax error when the expression is parsed. I'd also like to know if there are more characters behaving like this.
 
                                
                             
                                
                             
                                
                             
                                
                             
                                
                            