Bug Tracker

Changes between Initial Version and Version 1 of Ticket #5571, comment 26


Ignore:
Timestamp:
May 2, 2012, 1:58:20 AM (7 years ago)
Author:
cowboy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5571, comment 26

    initial v1  
    1 With the new "testing arguments.length" behavior, calling a method like `prop` with a value that might be null is very terse, but creating a "shortcut" method becomes much more complex.
     1With the new "testing arguments.length" behavior, calling a method like `prop` with a value that might be `null` or `undefined` is very terse, but creating a "shortcut" method becomes much more complex.
    22
    33{{{
     
    1515}}}
    1616
    17 With the old "testing value == null" behavior, a test must be done before calling `prop` if a value might be null or undefined (which makes chaining difficult), but creating a "shortcut" method is very terse.
     17With the old "testing value == null" behavior, a test must be done before calling `prop` if a value might be `null` or `undefined` (which makes chaining difficult), but creating a "shortcut" method is very terse.
    1818
    1919{{{