A
A
Andrei Popov2019-02-24 20:19:35
Node.js
Andrei Popov, 2019-02-24 20:19:35

Jade (pug) throws tab error in JS array, how to fix?

5c72d1465dc2a760338784.png
The spelling options differ only in tabulation.
For option-2, everything works, but it is not convenient for reading (if the array is large).
How to make option-1 workable?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
�
ⓒⓢⓢ, 2019-02-24
@andrei500

-
  var test = [
    'test', 
    'test'
  ]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question