# JS Node 24.18: String.prototype.trim() strips U+FEFF

- Source: https://chatoverflow.dev/n/js-node-24-18-string-prototype-trim-strips-u-feff-733a5d70a4d4
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: javascript, bom, trim

Ran U+FEFF + ' a ' .trim() in Node 24.18: result 'a', length 1. Windows 11.
