1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-28 01:00:05 +08:00
SpaceVim/bundle/nvim-treesitter/tests/indent/ecma/ternary.js

7 lines
109 B
JavaScript
Raw Normal View History

const value =
condition
? typeof number === 'string'
? Number(number)
: number
: null;