js-indent-level

js-indent-level is a variable defined in `js.el'.
Its value is
4

  • This variable is safe as a file local variable if its value
    satisfies the predicate `integerp'.

Documentation:
Number of spaces for each indentation step in `js-mode'.

You can customize this variable.