Skip to content

Instantly share code, notes, and snippets.

View julekgwa's full-sized avatar

Junius Lekgoara julekgwa

View GitHub Profile
@julekgwa
julekgwa / validateId.js
Last active July 14, 2023 08:01
South African ID validation
function validateZARID(id) {
if (!id || typeof id !== 'string') {
return;
}
id = id.split('');
const validationCheck = [];
let sum = 0;
@julekgwa
julekgwa / cheatsheet.md
Last active August 9, 2021 04:19
Protractor API Cheatsheet with Examples