Game Changer Type Guarantees

JS++® introduces the first and only type system compatible with JavaScript that is optional and "sound."

In other words, if you choose to declare the type for a variable, it is guaranteed to always be correct — during compile-time checking and runtime execution — even if you're using "untyped" JavaScript libraries.

// You're not required to declare the type for a variable and you can just
// keep writing regular JavaScript (again, NO learning curve):
var offset = 0;

// But, if you do, this next variable will always remain an 'unsigned int' - even at runtime. // You'll never see NaN ("Not a Number") runtime errors again. // This variable is 'unsigned' so it's also guaranteed to never be negative. unsigned int pageHeight = $(document).height();

"TypeScript's 'type erasure' vs JS++'s 'type guarantee' would be a big reason to use JS++ over TypeScript."

Andrew Osman, CodeProject

Due to the low quality and low reliability of programming languages that compile to JavaScript - even from Microsoft, Google, and Facebook - programmers have begun to think these languages are "hacks." JS++ was researched and designed over multiple years with a strong scientific foundation.

You'll be surprised how JS++ works 100% of the time, even in the most obscure corner cases.

"I fell in love with JS++ at first sight." - Eddie Dhakal

@RogerPoon I love your language. I wish I had a wife like JS++!

— Felix Lebel (@felixvynatu) April 22, 2020

Javascript++ is so much better than Typescript/Rollup/Babel: Instant compile times + function/method overloading.

— diego (@un_i_) September 28, 2017

@RogerPoon Man, JS++ is more quick-to-use than TypeScript with tsc.

— Hydroper (@HydroperHy) June 8, 2018

"The first thing that grabbed my attention... was the syntax of JS++. Familiar, simple, readable. Is this really Javascript?"

— Abel Varga Scratching the Surface of JS++

Get Updates ASAP in Your Inbox

Please enter a valid name.
Please enter a valid email.

We do not spam or sell/share email addresses. You can unsubscribe any time. For more information, read our privacy policy.

Thanks for joining JS++ Insider!

You'll receive an email in your inbox to confirm your email address. Please follow the link in the email.