Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: playground
node v10.24.1
version:
1.0.0
endpoint
share
tweet
var Diff = require("diff") var oldStr = "jose bernardo da silva8459215000nova cruzrn" var newStr = "jose bernardo das silva8459215000nova cruzrn" console.log(Diff.diffWords(oldStr, newStr)) console.log(Diff.diffChars(oldStr, newStr))
Created from: https://npm.runkit.com/playground
Loading…
no comments
sign in
to comment