Changes between Version 45 and Version 46 of Coding_Conventions


Ignore:
Timestamp:
Dec 19, 2019, 8:05:06 AM (4 years ago)
Author:
Silier
Comment:

It helps adding new key-values without need to modify previous line

Legend:

Unmodified
Added
Removed
Modified
  • Coding_Conventions

    v45 v46  
    357357}}}
    358358
     359 * Put `,` after the last key-value in multi-line object
     360{{{
     361#!js
     362let object = {
     363   "key": value,
     364   "key2": value2,
     365};
     366}}}
     367
    359368 * Create empty arrays and objects with "`[]`" and "`{}`" respectively, not with "`new Array()`" and "`new Object()`".
    360369