What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-20 03:46:03
javascript check if two arrays of objects have same elements
var isEqual = function (value, other) { // Get the value type var type = Object.prototype.toString.call(value); // If the two objects are not the same type, return false if (type !== Object.prototype.toString.call(other)) return false; // If items... Add solution -
Javascript 2021-09-15 20:17:03
node red json array
[{"id":"187967a.a95e618","type":"inject","z":"4484ee28.caa3c","name":"","props":[{"p":"payload"},{"p":"object","v":... Add solution -
Other 2021-09-10 09:45:01
how to make a group inviter for sl
default{ touch_start(integer num) { string group = llList2String(llGetObjectDetails(llGetKey(),[OBJECT_GROUP]),0); llSay(0,"To join our group, click this link >>> http://world.secondlife.com/group/" + group); }} Add solution -
Javascript 2021-09-06 17:02:02
repeatedly invoke a regex on matches in js
let str = '<h1>Hello, world!</h1>'; let regexp = /<(.*?)>/g; let matchAll = str.matchAll(regexp); alert(matchAll); // [object RegExp String Iterator], not array, but an iterable matchAll = Array.from(matchAll); // array now let first... Add solution
Best helpers
Ranking is empty