5

I have noticed that JavaScript in questions on Stack Overflow isn't quite highlighted correctly. I saw this in the following code:

function getFileType(data) {
    let dataView = new Uint8Array(data);
}

As you may notice, the Uint8Array class should be fully highlighted, yet the 8 is ignored by the highlighter. This also happens for other arrays (e.g., Uint16Array, etc).

2

0

Browse other questions tagged .