var s = "abc русский текст".replace(/[а-яА-Яa-zA-Z]/g, function(v) {
return v.toString().toUpperCase();
});
alert(s);
header('Content-Type: application/json');
const array = Array.prototype.slice.call(nodeList);
const array = Array.from(nodeList)
const array = [...nodeList];
var p = Array.from(document.getElementsByTagName("p"))
var p = [...document.getElementsByTagName("p")]
function Class1() {
}
function fabric() {
return new Class1();
}
var o = fabric();
alert( o instanceof Class1 );
var e = $.Event( "keydown", { keyCode: 32 } );
// trigger an artificial keydown event with keyCode 64
$( "body" ).trigger( e );