What does the second number after the colon in the trace line of the node.js stack mean?

There are always two numbers in the node.js stack trace, line number then a: and another number. In the example below, in the first line there is faye-redis.js: 153: 36 and 153 - the line number in this file where the error occurs, but what does the number mean: 36?

node_modules/faye-redis/faye-redis.js:153:36 • publish.notify node_modules/faye-redis/faye-redis.js:72:16 • clientExists node_modules/redis/index.js:532:9 • try_callback node_modules/redis/index.js:614:13 • return_reply node_modules/redis/index.js:266:14 • RedisClient.init_parser events.js:96:17 • EventEmitter.emit node_modules/redis/lib/parser/hiredis.js:43:18 • execute node_modules/redis/index.js:488:27 • on_data node_modules/redis/index.js:82:14none events.js:96:17 • EventEmitter.emit net.js:397:14 • onread 
+6
source share
1 answer

The first number is the row (row number), the second is the column (character in the row). In Javascript, many encoders usually install a lot of code on a single line using closures et al or use minifiers as a YUI compressor, so it often provides quite relevant information.

+8
source

Source: https://habr.com/ru/post/944244/


All Articles