mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Improving comments.
This commit is contained in:
parent
4c4f4e4fc8
commit
36cbc846da
@ -122,10 +122,10 @@ function addThis()
|
||||
* If we didn't put double-quotes around the string argument,
|
||||
* we'd get this for an eval string:
|
||||
*
|
||||
* '11 + a + 22'
|
||||
* '11 + a + 22'
|
||||
*
|
||||
* If we eval() this, we get 'ReferenceError: a is not defined'.
|
||||
* With the former, we get eval('11 + "a" + 22') as desired.
|
||||
* With proper quoting, we get eval('11 + "a" + 22') as desired.
|
||||
*/
|
||||
function sumThese()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user