Download WINSOFT JSEngine v4.5 Delphi 6-D11

jsengine

Description

Winsoft JSEngine is one of the powerful JavaScript engines for Delphi.

Features and features of Winsoft JSEngine:

  • Benefiting from the powerful Microsoft ChakraCore JavaScript engine
  • Support for 32-bit and 64-bit Windows
  • Released for Delphi versions 6 to 10.1 and Lazarus
  • Providing the source code with the product
  • Royalty-free distribution of the library in applications

Version 3.0

  • updated ChakraCore DLL libraries
  • updated ChakraCore declarations

To download software demos from Here Do.

Examples

ECMAScript 2015 (ES6) examples


// block
{
const a = 1 // block-scoped constant
let b = 2 // block-scoped variable
}

// template literals
function complexToString(a, b) {
return `${a} + ${b}i`
}

complexToString(1, 2)

// multi-line strings
let html = `

Hello

`

// destroying assignment
const (a, , c) = (1, 2, 3, 4)
const {a, c} = {a: 1, b: 2, c: 3, d: 4}

// class
class Person {
constructor(name) {
this.name = name
}

hello() {
return ‘Hello,’ + this.name + ‘!’
}
}

const Eric = new Person(‘Erik’)
erik.name
erik.hello()

// inheritance
class Student extends Person {
hello() {
return ‘Hello, student’ + this.name + ‘!’
}
}

const Patrik = new students‘Patrick’)
patrik.hello()

// arrow functions
(1, 2, 3).map(value => value + 1)

const increment = value => value + 1
increase(1)

// for of
let sum = 0
for (const element of (1, 2, 3))
sum += element

// default parameters
function hello(name = ‘Erik’) {
return ‘Hello,’ +name+ ‘!’
}

// rest parameters
function restParams(first, …rest) {
return Rest
}

// spread operator
Math.max(1, 2, 3)
Math.max(…(1, 2, 3))

const a = (1, 2, 3)
const b = (4, 5, 6)
const c = (…a, …b)

ECMAScript 2016 examples


2 ** 3 // exponentiation operator

ECMAScript 2017 examples


Object.values({a: 1, b: 2});
Object.entries({a: 1, b: 2});

Web Assembly examples


var memory = new WebAssembly.Memory({initial: 1, maximum: 10});
var array = new Uint32Array(memory.buffer);

array(10) = 1;
array(10);

required system Winsoft JSEngine

for Delphi 7, 2007, 2009, 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10 Seattle, 10.1 Berlin, 10.2 Tokyo

Pictures

Installation guide

We use its library functions from this program. It is not installed and we only need to introduce its path in the Delphi library.

download link

Download WinSoft JSEngine v4.5 for Delphi & C++ Builder 6-11

Password file(s): www.downloadly.ir

Size

8.29 MB

4.2/5 – (4097 points)

Be the first to comment

Leave a Reply

Your email address will not be published.


*