Unicode in Javascript source code : var fu006Fu006F = 'abc'; console.log(foo) Unicode in Javascript strings : var str = 'uD83DuDC04'; console.log(str)