ip

JavaScript’s internal character encoding: UCS-2 or UTF-16?

Does JavaScript use UCS-2 or UTF-16 encoding? Since I couldn’t find a definitive answer to this question anywhere, I decided to look into it. The answer depends on what you’re referring to: the JavaScript engine, or JavaScript at the language level.




ip

Valid JavaScript variable names in ES5

Did you know var π = Math.PI; is syntactically valid JavaScript? I thought this was pretty cool, so I decided to look into which Unicode glyphs are allowed in JavaScript variable names, or identifiers as the ECMAScript specification calls them.




ip

Unquoted property names / object keys in JavaScript

Fun fact: var foo = { H̹̙̦̮͉̩̗̗ͧ̇̏̊̾Eͨ͆͒̆ͮ̃͏̷̮̣̫̤̣Cͯ̂͐͏̨̛͔̦̟͈̻O̜͎͍͙͚̬̝̣̽ͮ͐͗̀ͤ̍̀͢M̴̡̲̭͍͇̼̟̯̦̉̒͠Ḛ̛̙̞̪̗ͥͤͩ̾͑̔͐ͅṮ̴̷̷̗̼͍̿̿̓̽͐H̙̙̔̄͜: 42 }; is valid JavaScript. It may not be immediately obvious, but the real surprise here is that the Cthulhu-esque property name is not surrounded by quotes. Intrigued by this, and having written about the similar topic of JavaScript identifiers before, I decided to look into valid property names in JavaScript. When do they need to be quoted? When can the quotes be omitted? And in which cases can dot notation be used instead of bracket notation to get or set a property based on its name?




ip

Reserved keywords in JavaScript

Looking for a list of all reserved words in JavaScript? You’ve come to the right place. I recently needed such a list myself, but ended up comparing the reserved keywords in all ECMAScript versions as well. The result is listed below, for future reference.




ip

JavaScript has a Unicode problem

The way JavaScript handles Unicode is… surprising, to say the least. This write-up explains the pain points associated with Unicode in JavaScript, provides solutions for common problems, and explains how the ECMAScript 6 standard improves the situation.




ip

Valid JavaScript variable names in ES2015

ES2015 updates the grammar for identifiers. This affects a number of things, but most importantly, identifiers can be used as variable names, and identifier names are valid unquoted property names. This post describes the observable changes compared to the old ES5 behavior.




ip

Unicode property escapes in JavaScript regular expressions

ES2018 adds support for Unicode property escapes of the form p{…} and P{…} to JavaScript regular expressions. This article explains what Unicode property escapes are, how they work, and why they’re useful.




ip

ECMAScript regular expressions are getting better!

This article highlights what’s happening in the world of JavaScript regular expressions right now. Spoiler: it’s quite a lot — there are more RegExp-related proposals currently advancing through the TC39 standardization process than there have been updates to RegExp in the history of ECMAScript!




ip

JavaScript engine fundamentals: Shapes and Inline Caches

This article describes some key fundamentals that are common to all JavaScript engines — and not just V8, the engine the authors work on. As a JavaScript developer, having a deeper understanding of how JavaScript engines work helps you reason about the performance characteristics of your code.




ip

JavaScript engine fundamentals: optimizing prototypes

This article explains JavaScript engine optimization pipeline trade-offs, and describes how engines such as V8 speed up accesses to prototype properties. As a JavaScript developer, having a deeper understanding of how JavaScript engines work helps you reason about the performance characteristics of your code.




ip

A horrifying `globalThis` polyfill in universal JavaScript

The globalThis proposal introduces a unified mechanism to access the so-called “global object” a.k.a. “the global” in any JavaScript environment. It sounds like a simple thing to polyfill, but it turns out it’s pretty hard to get right.




ip

Strict vigil by UP police at Delhi-Ghazipur border




ip

Delhi HC directs authorities to declare candiate with bipolar disorder as selected for Delhi Judicial Service




ip

India-Uzbekistan strategic partnership continues to flourish: EAM after conversation with Uzbek counterpart




ip

Do not anticipate worst case situation like developed countries in India, says Union Health Minister Harsh Vardhan




ip

Precipitation-free high-affinity multivalent binding by inline lectin ligands

Chem. Sci., 2020, Advance Article
DOI: 10.1039/D0SC01744B, Edge Article
Open Access
Philipp Rohse, Sabrina Weickert, Malte Drescher, Valentin Wittmann
Integration of sugar epitopes into a backbone structure generates multivalent lectin ligands with a defined binding mode and high affinity without precipitating the protein.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




ip

Nemcha Kipgen distributes PPEs to frontline workers

Nemcha Kipgen distributes PPEs to frontline workers




ip

36 stranded Manipuri including 16 Cancer patients departs Mumbai for Imphal

36 stranded Manipuri including 16 Cancer patients departs Mumbai for Imphal




ip

Coronavirus | Contract workers from Ambur Municipality seek special pay, insurance coverage

AITUC District vice-president S.R. Devadass said though order were passed by the State government for additional incentives for those on the front lines in the fight against COVID-19, this was ‘conveniently ignored’ by municipal officials.




ip

5 more COVID hospitals in the pipeline: Minister

Minister for Medical and Health Alla Kali Krishna Srinivas on Saturday said that five more private hospitals were designated as COVID-19 hospitals in




ip

In South Goa’s mining belt, 300 truck trips in 60 mins puts lives at stake

Amid the Covid-19 pandemic, even as the state has entered the Green Zone, for the South Goa mining belt residents, it is the fear of being run over by a mining truck that is keeping them indoors.




ip

Coimbatore city sees dip in waste collected during lockdown

Corporation used lockdown period to clear accumulated garbage in various places




ip

Petition in HC to reopen places of worship

A public interest litigation petition has been filed in the Madras High Court seeking a direction to the State government to permit reopening of templ




ip

Yashaswini, Rudrankksh claim top positions in 3rd International Online Shooting Championship

Yashaswini, Rudrankksh claim top positions in 3rd International Online Shooting Championship




ip

Bombay HC adjourns PIL against enquiry into IPS officer over letter he wrote

Bombay HC adjourns PIL against enquiry into IPS officer over letter he wrote




ip

Technology to help Delhi Police breach iPhones, get back deleted data

Technology to help Delhi Police breach iPhones, get back deleted data




ip

TOI leads HT by 2.9L in Delhi-NCR readership

TOI leads HT by 2.9L in Delhi-NCR readership




ip

Forces must shun imports, go for ‘Make In India’, says Gen Bipin Rawat | India News - Times of India

Forces must shun imports, go for ‘Make In India’, says Gen Bipin Rawat | India News - Times of India




ip

Signboards, milestones in Punjab to have Punjabi inscription




ip

Punjab govt mandates use of Gurmukhi script for signboards, road milestones




ip

AICSAM championship from March 11 to 14 at Chandigarh




ip

Irregularities in distribution of sports equipment during SAD-BJP's tenure will be probed: Punjab Sports Minister




ip

Punjabi singer Sippy Gill booked for glorifying violence




ip

Punjabi singer Sippy Gill booked for promoting violence through his song




ip

Combating COVID-19: Punjab building large stocks of life-saving equipment




ip

1,300 Punjab cops moved from VIP duties to battle corona




ip

Chandigarh Municipality to do drone-based sanitisation




ip

Amritsar: Devotees offer prayers, take holy dip at Golden Temple on occasion Baisakhi, amid lockdown




ip

Muslim Gujjars in Punjab, Himachal face hardship amid corona crisis




ip

Dept inquiry initiated against officer accused of stripping three persons at police station last year




ip

Music can endure any hardship: Harbhajan Mann




ip

Punjab ex-DGP files anticipatory bail plea in 29-yr old abduction case




ip

A tailor’s long journey from Jaipur to Farrukhabad to be with family

The sudden lockdown announcement, an uncertain future, concern for family pushed him to walk to his hometown in Uttar Pradesh hundreds of kilometres away




ip

Man murdered in Gummidipoondi over alcohol

Munusamy, 26, was reportedly murdered in Gummidipoondi on Friday, by his neighbour Sanjay after a fight broke out between them, since the former refus




ip

Indian naval ship arrives in Kochi with evacuees from the Maldives

Most of the 698 Indians, of whom 440 are from Kerala, were stranded in the island country after they lost their jobs




ip

Technology to help Delhi Police breach iPhones, get back deleted data

Delhi Police is going to procure a technology which will help the cops extract data from iPhones seized by them from suspects. The software can even extract deleted data and data from installed applications on the phones.




ip

India’s fuel consumption dips 46 per cent in April; expected to rebound in May

Petrol sales were down 60.43 per cent to 9,73,000 tonnes in April




ip

Naval ship arrives in Kochi with 698 repatriated Indians from Maldives

Passengers showing Covid-19 symptoms are being disembarked first, followed by others in small groups, district-wise, says a Cochin Port Trust official




ip

Taiwan Dragons vs Taiwan Daredevils, Dream11 Prediction: Best picks for TDG vs TDR today in Taipei T10 League

TDG vs TDR Dream11 Team - Check My Dream11 Team, Best players list of today's match, Taiwan Dragons vs Taiwan Daredevils Dream11 Team Player List, TDG Dream11 Team Player List, TDR Dream11 Team Player List, Dream11 Guru Tips, Online Cricket Tips, Taiwan Dragons vs Taiwan Daredevils Head to Head.




ip

Hsinchu Titans vs Taiwan Daredevils, Dream11 Prediction: Best picks for HST vs TDR today in Taipei T10 League

HST vs TDR Dream11 Team - Check My Dream11 Team, Best players list of today's match, Hsinchu Titans vs Taiwan Daredevils Dream11 Team Player List, TDG Dream11 Team Player List, HST Dream11 Team Player List, Dream11 Guru Tips, Online Cricket Tips, Hsinchu Titans vs Taiwan Daredevils Head to Head.