« Previous | Next » 

Revision 453aeb7c

ID453aeb7ca9dedecc3b2e42ac31d6f7a8dff513b2
Parent b38d808f
Child d964c1a6

Added by Jens Hoffmann over 7 years ago

Take advantage of delete not acting on null values

The code 'delete 0' does nothing. So you can shorten code
like:

if (x != 0) {
delete x
}

to simply: delete x

(cherry picked from commit f7ecf6f8fc7ebdfdb9b9b4ca1000161ccbf56379)

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences