Code Sample
yes, even hidden code blocks!
print("hello world!")| (100 / a.length) * corespondLen | |
| corespondLen - количество совпадений |
| class SomeCmp { | |
| constructor() { | |
| this.counter = null | |
| } | |
| click() { | |
| this.counter.innerText = Math.random() | |
| } | |
| render() { |
| function module() { | |
| class Decorator { | |
| } | |
| let _onLogging = ({ args, result }) => { | |
| // console.log(args, result) | |
| }; | |
| function registerLogger(method) { | |
| if (method instanceof Function) { |
| function module() { | |
| class Observer extends Modifier { | |
| constructor() { | |
| super(null); | |
| this.subscribers = new Array(); | |
| this._currID = 0; | |
| super._subscribable = this; | |
| } | |
| sbscribtionLength() { |
| "use strict"; | |
| var __extends = (this && this.__extends) || (function () { | |
| var extendStatics = function (d, b) { | |
| extendStatics = Object.setPrototypeOf || | |
| ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | |
| function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | |
| return extendStatics(d, b); | |
| }; | |
| return function (d, b) { | |
| extendStatics(d, b); |
| const UserService = { | |
| url: 'http://localhost:3000/api/users', | |
| //... | |
| login(email, password) { | |
| let urlencoded = new URLSearchParams(); | |
| urlencoded.append('email', email); | |
| urlencoded.append('password', password); | |
| let requestOptions = { | |
| method: 'POST', |
| // live prewiev | |
| // https://dartpad.dev/4f17382ff908f81b70efecaa386f7a59 | |
| import 'package:flutter/material.dart'; | |
| import 'dart:math'; | |
| void main() { | |
| runApp(MyApp()); | |
| } |
| /** | |
| * Экрана(монитор, консоль, принтер) в котором находятся | |
| * элементы юзер интерфейса | |
| */ | |
| class Screen { | |
| /** | |
| * | |
| * @type {UIElement[]} | |
| * @private | |
| */ |