“0o” is a new way of creating a number using octal value in ES6. Earlier to ES6, JS developers had to use “0” in front of numbers to specify its a octal number.
Here is code example:
var a = 012;
var b = 0o12;
So in ES6 its more easier to identify octal numbers.