var a = 'Alice';
var b = 'Bob';
var is_alice = true;
console.log(`Hello, ${is_alice ? a : b}`);
//Hello, Alice
var fruits = ['apple', 'lemon', 'cherry'];
console.log(`Fruits list: ${fruits}`);
//Fruits list: apple,lemon,cherry
console.log(`Fruits list: ${fruits.join(' and ')}`);
//Fruits list: apple and lemon and cherry
Подписывает переданный в параметре plaintext текст ключом, который был прежде установлен с помощью gnupg_addsignkey...
bool gnupg_addsignkey ( resource $identifier , string $fingerprint [, string $passphrase ] )