Skip to main content
added 7 characters in body
Source Link
Martin Ender
  • 198.3k
  • 67
  • 455
  • 999

Addition to w0lf

When working with arrays, .compact can be replaced with -[nil] to save 2 chars.

When working with arrays, .compact can be replaced with -[nil] to save 2 chars.

Combined with above -> you can make it even shorter it with -[p]-[p] to save another 2 chars :D.

Addition to w0lf

When working with arrays, .compact can be replaced with -[nil] to save 2 chars.

Combined with above -> you can even shorter it with -[p] to save another 2 chars :D

Addition to w0lf

When working with arrays, .compact can be replaced with -[nil] to save 2 chars.

Combined with above -> you can make it even shorter with -[p] to save another 2 chars.

Source Link
villu164
  • 301
  • 2
  • 3

Addition to w0lf

When working with arrays, .compact can be replaced with -[nil] to save 2 chars.

Combined with above -> you can even shorter it with -[p] to save another 2 chars :D